1.1 - 8.10 - DTW Syntax - 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)

Version 1.6

SELECT * FROM DTW (
  ON { table | view | (query) } AS InputTable
    PARTITION BY i_partition_column [,...] ORDER BY i_order_column [,...] 
  ON template_table AS TemplateTable DIMENSION ORDER BY t_order_column [,...] 
  ON mapping_table AS MappingTable
    PARTITION BY m_partition_column [,...]
  USING
  TargetColumns ('target_value', 'target_timestamp')
  TemplateColumns ('template_value', 'template_timestamp')
  TimeseriesID ('timeseriesid' [,...])
  TemplateID ('templateid' [,...])
  [ Radius (radius) ]
  [ DistanceMethod ('distance_method') ]
  [ WarpPath ({'true'|'t'|'yes'|'y'|'1'|'false'|'f'|'no'|'n'|'0'})]
) AS alias;