TD_VectorDistance Output - Teradata VantageCloud Lake

Lake - Analyze Your Data with ClearScape Analytics™

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2026-02-20
dita:mapPath
tcl1683670667798.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
tcl1683670667798

The function produces a table with the distances between the target and reference vectors.

Column Data Type Description
Target_ID BIGINT Specified target table column name.
Reference_ID BIGINT Specified reference vector.
DistanceType VARCHAR Distance measure type. Possible values are { cosine, euclidean, manhattan, dotproduct, Minkowski}.
Distance

or

Similarity

DOUBLE PRECISION The distance or similarity between the target and the reference vectors.