Predicate_Field - Advanced SQL Engine - Teradata Database

SQL Request and Transaction Processing

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-28
dita:mapPath
uqf1592445067244.ditamap
dita:ditavalPath
uqf1592445067244.ditaval
dita:id
B035-1142
lifecycle
previous
Product Category
Teradata Vantage™

Function of Predicate_Field

Associates the list of columns specified in a captured predicate with the parent relation and predicate.

Predicate_Field Table Definition

The following CREATE TABLE request defines the Predicate_Field table:

CREATE TABLE predicate_field (
  PredicateID INTEGER NOT NULL,
  RelationKey INTEGER NOT NULL,
  FieldID     INTEGER NOT NULL)
PRIMARY INDEX ( RelationKey );

Attribute Definitions for Predicate_Field

The following table defines the Predicate_Field table attributes:

Attribute Definition
PredicateID Uniquely identifies the predicate.
RelationKey
  • Unique identifier for the referenced table.
  • NUPI for the Predicate_Field table.
FieldID Unique identifier for the column.