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 VectorDistance (
  ON target_mobile_data AS target PARTITION BY UserID
  ON ref_mobile_data AS ref DIMENSION
  TargetIDColumns ('UserID')
  TargetFeatureColumn ('Feature')
  TargetValueColumn ('Value')
  DistanceMeasure ('Cosine', 'Euclidean', 'Manhattan')
  MaxDistance ('0.03', '0.8', '1.0')
) ORDER BY target_userid;