7.00.02 - SMAVG Arguments - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Published
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
Last Update
2018-04-17
TargetColumns
[Optional] Specifies the names of the input columns for which the simple moving average is to be computed. Default behavior: The function copies all numeric input columns to the output table.
IncludeFirst
[Optional] Specifies whether to output window_size rows. Because the simple moving average for the first window_size rows is undefined, the function returns NULL values for those columns. Default: 'false'.
WindowSize
[Optional]
Specifies the number of previous values to include in the computation of the simple moving average. Default: 10.
The SMAVG function ignores case in schema names, table names, and column names. If such a name contains capital letters, you must surround the name with double quotation marks. For example: TargetColumns ('"City"', 'date')