1.1 - 8.10 - When Reference Data Fits in Memory - Teradata Vantage

Teradata Vantage™ - Machine Learning Engine Analytic Function Reference

Teradata Vantage
Release Number
Release Date
October 2019
Content Type
Programming Reference
Publication ID
English (United States)

Use this syntax when one input (SourceTable or ReferenceTable) fits in memory. For best performance, identify the smaller table as ReferenceTable. Function results are the same regardless of how you identify the inputs.

The function compares each record from SourceTable and each record from ReferenceTable. The number of comparisons is |SourceTable|*|ReferenceTable|. In the syntax, a and b refer to the SourceTable and ReferenceTable, respectively.

Version 1.11

SELECT * FROM IdentityMatch (
  ON source_input_table AS SourceTable PARTITION BY ANY
  ON reference_input_table AS ReferenceTable DIMENSION
  IDColumn ('a.id_column: b.id_column')
  { NominalMatchColumns ('a.columnX: b.columnY' [,...]) |
    FuzzyMatchColumns ('a.columnX: b.columnY, match_metricmatch_weight [, synonym_file ]' [,...])
  [ Accumulate ('{a|b}.accumulate_column' [,...]')]
  [ ThresholdScore (threshold) ]
) AS alias;