TD_VectorDistance Output - Analytics Database

Database Analytic Functions

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-04-01
dita:mapPath
gjn1627595495337.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
jmh1512506877710
Product Category
Teradata Vantageā„¢

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

Column Data Type Description
Target_ID BIGINT The specified target table column name.
Reference_ID BIGINT The specified reference vector.
DistanceType VARCHAR The specified distance type.
Distance DOUBLE PRECISION The distance between the target and the reference vectors.