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_ DOC_ FILE - Documentation for the _file metadata column
- RESERVED_
COL_ NAME_ FILE - Reserved column name for the file path metadata column
- RESERVED_
FIELD_ ID_ FILE - Reserved field ID for the file path (_file) column per Iceberg spec
Functions§
- 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.