PROJECTION_COLUMNS
Provides information about projection columns, such as encoding type, sort order, type of statistics, and the time at which columns statistics were last updated.
Column Name | Data Type | Description |
---|---|---|
|
INTEGER
|
Catalog-assigned numeric value that uniquely identifies the projection. |
|
VARCHAR
|
The projection name for which information is listed. |
|
VARCHAR
|
The projection column name. |
|
INTEGER
|
The ordinal position of a projection's column used in the |
|
INTEGER
|
The projection's column sort specification, as specified in |
|
INTEGER
|
A unique numeric object ID (OID) that identifies the associated projection column object and is assigned by the Vertica catalog. This field is helpful as a key to other system tables. |
|
VARCHAR
|
Matches the corresponding table column data type (see |
|
VARCHAR
|
The encoding type defined on the projection column. |
|
INTEGER
|
The access rank of the projection column. See the |
|
INTEGER
|
A unique numeric ID (OID) that identifies the group and is assigned by the Vertica catalog. |
|
VARCHAR
|
The name of the schema in which the projection is stored. |
|
INTEGER
|
Catalog-assigned numeric value that uniquely identifies the table. |
|
VARCHAR
|
The table name that contains the projection. |
|
VARCHAR
|
Catalog-assigned VARCHAR value that uniquely identifies a table column. |
|
VARCHAR
|
The projection's corresponding table column name. |
STATISTICS_TYPE
|
VARCHAR
|
The type of statistics the column contains:
|
|
|
The time at which the columns statistics were last updated by |
|
BOOLEAN
|
Indicates whether this projection column is calculated with an expression. For aggregate columns, |
|
BOOLEAN
|
Indicates whether the column is an aggregated column in a live aggregate projection. |
|
INTEGER
|
Position of that column in the PARTITION BY and GROUP BY clauses, if applicable. |
|
INTEGER
|
Set only for Top-K projections, specifies the column's position in the ORDER BY clause, as defined in the projection definition's window partition clause. If the column is omitted from the ORDER BY clause, ORDER_BY_POSITION output is NULL. |
|
INTEGER
|
Type of sort order:
|
|
VARCHAR
|
Expression that calculates the column value. |
Examples
See Statistics Data in PROJECTION_COLUMNS