Why Vantage Does Not Support The ANSI SQL STATE and RELATIVE Comparison Options - Analytics Database - Teradata Vantage

SQL Data Definition Language Detailed Topics

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-07-11
dita:mapPath
vuk1628111288877.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
B035-1184
lifecycle
latest
Product Category
Teradata Vantage™

The ANSI SQL:2011 standard supports 3 comparison options for ordering definitions:

  • MAP
  • RELATIVE
  • STATE

Vantage does not support the STATE and RELATIVE comparisons because they do not mesh well with the Teradata parallel architecture. The issue that makes these options problematic is that there is a strong relationship between the concepts of equality and the hash values that Vantage generates for many of its join strategies. Two values that are equal in the relational use of the concept must generate hash values that are also equal.

The MAP ordering approach enables Vantage to generate internally an appropriate hash value for the UDT, enabling all Optimizer join strategies to function properly.