TD_UNDIFF Input - Teradata Vantage

Database Unbounded Array Framework Time Series Functions

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-12-08
dita:mapPath
ncd1634149624743.ditamap
dita:ditavalPath
ruu1634160136230.ditaval
dita:id
ncd1634149624743

Accepts primary and secondary input sources. The internal behavior is different based on whether one or two inputs are passed in. Result series is the same.

When one input source is passed in, the primary input ART_SPEC or SERIES_SPEC is used to reference a source containing a univariate or multivariate series previously differenced using TD_DIFF. The FUNC_PARAMETERS includes an INITIAL_VALUES list that provides the initial values necessary to undo the differencing operation. TD_UNDIFF then uses these initial values to undo the differencing, and reconstructs the original series.

When two input sources are passed in, the primary input ART_SPEC or SERIES_SPEC is used to reference a source containing univariate or multivariate series previously differenced using TD_DIFF. The secondary input is a SERIES_SPEC to reference the original undifferenced series. TD_UNDIFF uses the original series to compute the initial values. It then uses the computed initial values to undo the differencing, and reconstruct the original series.