CREATE TABLE output_table AS ( TD_FunctionFit ( ON { table | view | (query) } AS InputTable ON { table | view | (query) } AS TransformationTable DIMENSION ) ) WITH DATA;
TD_FunctionFit (
ON { table | view | (query) } AS InputTable
ON { table | view | (query) } AS TransformationTable DIMENSION
)
You can call this function from:
- The FROM clause of a SELECT statement
- As part of a CREATE TABLE statement
- As part of a CREATE VIEW statement