Expand description
Metadata columns (virtual/reserved fields) for Iceberg tables.
This module defines metadata columns that can be requested in projections but are not stored in data files. Instead, they are computed on-the-fly during reading. Examples include the _file column (file path) and future columns like partition values or row numbers.
Constants§
- RESERVED_
COL_ NAME_ CHANGE_ ORDINAL - Reserved column name for the change ordinal metadata column
- RESERVED_
COL_ NAME_ CHANGE_ TYPE - Reserved column name for the change type metadata column
- RESERVED_
COL_ NAME_ COMMIT_ SNAPSHOT_ ID - Reserved column name for the commit snapshot ID metadata column
- RESERVED_
COL_ NAME_ DELETED - Reserved column name for the deleted metadata column
- RESERVED_
COL_ NAME_ DELETE_ FILE_ PATH - Reserved column name for the file path in position delete files
- RESERVED_
COL_ NAME_ DELETE_ FILE_ POS - Reserved column name for the position in position delete files
- RESERVED_
COL_ NAME_ FILE - Reserved column name for the file path metadata column
- RESERVED_
COL_ NAME_ LAST_ UPDATED_ SEQUENCE_ NUMBER - Reserved column name for the last updated sequence number metadata column
- RESERVED_
COL_ NAME_ PARTITION - Reserved column name for the partition metadata column
- RESERVED_
COL_ NAME_ POS - Reserved column name for the position metadata column
- RESERVED_
COL_ NAME_ ROW_ ID - Reserved column name for the row ID metadata column
- RESERVED_
COL_ NAME_ SPEC_ ID - Reserved column name for the spec ID metadata column
- RESERVED_
FIELD_ ID_ CHANGE_ ORDINAL - Reserved field ID for the change ordinal (_change_ordinal) column per Iceberg spec
- RESERVED_
FIELD_ ID_ CHANGE_ TYPE - Reserved field ID for the change type (_change_type) column per Iceberg spec
- RESERVED_
FIELD_ ID_ COMMIT_ SNAPSHOT_ ID - Reserved field ID for the commit snapshot ID (_commit_snapshot_id) column per Iceberg spec
- RESERVED_
FIELD_ ID_ DELETED - Reserved field ID for the deleted (_deleted) column per Iceberg spec
- RESERVED_
FIELD_ ID_ DELETE_ FILE_ PATH - Reserved field ID for the file path in position delete files
- RESERVED_
FIELD_ ID_ DELETE_ FILE_ POS - Reserved field ID for the position in position delete files
- RESERVED_
FIELD_ ID_ FILE - Reserved field ID for the file path (_file) column per Iceberg spec
- RESERVED_
FIELD_ ID_ LAST_ UPDATED_ SEQUENCE_ NUMBER - Reserved field ID for the last updated sequence number (_last_updated_sequence_number) column per Iceberg spec
- RESERVED_
FIELD_ ID_ PARTITION - Reserved field ID for the partition (_partition) column per Iceberg spec
- RESERVED_
FIELD_ ID_ POS - Reserved field ID for the position (_pos) column per Iceberg spec
- RESERVED_
FIELD_ ID_ ROW_ ID - Reserved field ID for the row ID (_row_id) column per Iceberg spec
- RESERVED_
FIELD_ ID_ SPEC_ ID - Reserved field ID for the spec ID (_spec_id) column per Iceberg spec
Functions§
- change_
ordinal_ field - Returns the Iceberg field definition for the _change_ordinal metadata column.
- change_
type_ field - Returns the Iceberg field definition for the _change_type metadata column.
- commit_
snapshot_ id_ field - Returns the Iceberg field definition for the _commit_snapshot_id metadata column.
- delete_
file_ path_ field - Returns the Iceberg field definition for the file_path column in position delete files.
- delete_
file_ pos_ field - Returns the Iceberg field definition for the pos column in position delete files.
- deleted_
field - Returns the Iceberg field definition for the _deleted metadata column.
- file_
field - Returns the Iceberg field definition for the _file metadata column.
- get_
metadata_ field - Returns the Iceberg field definition for a metadata field ID.
- get_
metadata_ field_ id - Returns the field ID for a metadata column name.
- is_
metadata_ column_ name - Checks if a column name is a metadata column.
- is_
metadata_ field - Checks if a field ID is a metadata field.
- last_
updated_ sequence_ number_ field - Returns the Iceberg field definition for the _last_updated_sequence_number metadata column.
- partition_
field - Creates the Iceberg field definition for the _partition metadata column.
- pos_
field - Returns the Iceberg field definition for the _pos metadata column.
- row_
id_ field - Returns the Iceberg field definition for the _row_id metadata column.
- spec_
id_ field - Returns the Iceberg field definition for the _spec_id metadata column.