16.20 - MovingAverage Input - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ - NewSQL Engine Analytic Functions

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Release Date
July 2019
Content Type
Programming Reference
Publication ID
B035-1206-162K
Language
English (United States)

Input Table Schema

Column Data Type Description
partition_column Any [Column appears once for each specified partition_column.] Column by which input data is partitioned. This column must contain all rows of an entity. For example, if function is to compute moving average of a particular stock share price, all transactions of that stock must be in one partition.
PARTITION BY clause assumes column names are in Normalization Form C (NFC).
order_column Any [Column appears once for each specified order_column.] Column by which input table is ordered.
ORDER BY clause supports only ASCII collation.
target_column INTEGER, SMALLINT, BIGINT, NUMERIC, NUMBER, or DOUBLE PRECISION [Column appears once for each specified target_column.] Values to average.