Pivoting Output - Teradata Vantage

Machine Learning Engine Analytic Function Reference

Product
Teradata Vantage
Release Number
8.00
1.0
Published
May 2019
Language
English (United States)
Last Update
2019-11-22
dita:mapPath
blj1506016597986.ditamap
dita:ditavalPath
blj1506016597986.ditaval
dita:id
B700-4003
lifecycle
previous
Product Category
Teradata Vantageā„¢

The output table schema depends on whether you specify the argument 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.