1.1 - 8.10 - Pivoting Output - Teradata Vantage

Teradata Vantage™ - Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
1.1
8.10
Release Date
October 2019
Content Type
Programming Reference
Publication ID
B700-4003-079K
Language
English (United States)

The output table schema depends on whether you specify the syntax element NumberOfRows or PivotColumn.

Output Table Schema, NumberOfRows

Column Data Type Description
partition_column Same as in input table [Column appears once for each specified partition_column.] Column by which input data is partitioned.
value_i Any [Column appears number_of_rows times.] Value in ith target column, where i is in range [0, number_of_rows-1]. Columns appear in order specified by ORDER BY clause.

Output Table Schema, PivotColumn

Column Data Type Description
partition_column Any [Column appears once for each specified partition_column.] Column by which input data is partitioned.
value_target_column Any [Column appears once for each pivot_key.] Values for pivot_key that are associated with partitions in row.