Version 1.5
SELECT * FROM DTW (
ON { table | view | (query) } AS input_table
PARTITION BY i_partition_column [,...] ORDER BY i_order_column [,...]
ON template_table AS template_table DIMENSION ORDER BY t_order_column [,...]
ON mapping_table AS mapping_table
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;