7.00.02 - SQL-MapReduce Call - Aster Analytics

Teradata Aster® Analytics Foundation User GuideUpdate 2

Product
Aster Analytics
Release Number
7.00.02
Release Date
September 2017
Content Type
Programming Reference
User Guide
Publication ID
B700-1022-700K
Language
English (United States)
SELECT * FROM DTW (
 ON timeseriesdata AS input_table
 PARTITION BY timeseriesid
 ORDER BY timestamp1 ON templatedata AS template_table DIMENSION
 ORDER BY timestamp2 ON mappingdata AS mapping_table
 PARTITION BY timeseriesid
 InputColumns ('stockprice', 'timestamp1')
 TemplateColumns ('indexprice', 'timestamp2')
 TimeSeriesID ('timeseriesid')
 TemplateID ('templateid')
 ) ORDER BY "timeseriesID";