1.1 - 8.10 - Unpivoting 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)

Output Table Schema

Column Data Type Description
accumulate_column Same as in input table [Column appears once for each specified accumulate_column.] Column copied from input table.
attribute_column VARCHAR Unpivoted attribute.
value_column VARCHAR [ Column appears only with InputTypes ('false').] Unpivoted value of attribute. Numeric values are cast to VARCHAR.
value_column_double DOUBLE PRECISION [ Column appears only with InputTypes ('true').] Unpivoted value of attribute if value is real, otherwise NULL.
value_column_long LONG [ Column appears only with InputTypes ('true').] Unpivoted value of attribute if value is integer, otherwise NULL.
value_column_str VARCHAR [ Column appears only with InputTypes ('true').] Unpivoted value of attribute if value is other than real or integer, otherwise NULL.