@Evolving public interface SupportsMetadataColumns extends Table
The columns returned by metadataColumns()
may be passed as StructField
in
requested projections. Sources that implement this interface and column projection using
SupportsPushDownRequiredColumns
must accept metadata fields passed to
SupportsPushDownRequiredColumns.pruneColumns(StructType)
.
If a table column and a metadata column have the same name, the metadata column will never be requested. It is recommended that Table implementations reject data column name that conflict with metadata column names.
Modifier and Type | Method and Description |
---|---|
MetadataColumn[] |
metadataColumns()
Metadata columns that are supported by this
Table . |
capabilities, columns, name, partitioning, properties, schema
MetadataColumn[] metadataColumns()
Table
.
The columns returned by this method may be passed as StructField
in requested
projections using SupportsPushDownRequiredColumns.pruneColumns(StructType)
.
If a table column and a metadata column have the same name, the metadata column will never be requested and is ignored. It is recommended that Table implementations reject data column names that conflict with metadata column names.
MetadataColumn