MovingAverage Input - Analytics Database

Database Analytic Functions

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-04-06
dita:mapPath
gjn1627595495337.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
jmh1512506877710
Product Category
Teradata Vantageā„¢

Input Table Schema

Column Data Type Description
partition_column Any 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 by which input table is ordered.

ORDER BY clause supports only ASCII collation.

target_column INTEGER, SMALLINT, BIGINT, NUMERIC, NUMBER, or DOUBLE PRECISION Values to average.