Standard Form of Display for SHOW JOIN INDEX for Aggregate Join Indexes - 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
2024-10-04
dita:mapPath
vuk1628111288877.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
jbg1472252759029
lifecycle
latest
Product Category
Teradata Vantage™

By definition, the first column in the select list of an aggregate join index definition must be either a COUNT(non_nullable_expression) or COUNT(*) expression. When you create an aggregate join index that does not specify one of these COUNT expressions as the first column in its select list, then Vantage automatically moves the first such expression you specify to the first column in the definition. This also occurs whenever Vantage must add a COUNT(*) expression to the aggregate join index definition if you specify only a SUM operator.

This means that the column positions in the output of a SHOW JOIN INDEX request for an aggregate join index might not be identical to the column positions in the index definition that you originally typed.