ExposesMetadataColumns Logical Operators¶
ExposesMetadataColumns is an extension of the LogicalPlan abstraction for logical operators that can add extra metadata columns to the output columns.
Contract¶
Add Metadata Columns to Output Columns¶
withMetadataColumns(): LogicalPlan
See:
- DataSourceV2Relation
- LogicalRelation
StreamingRelationV2(Spark Structured Streaming)
Used when:
- AddMetadataColumns logical analysis rule is executed (and addMetadataCol)
Implementations¶
- DataSourceV2Relation
- LogicalRelation
StreamingRelation(Spark Structured Streaming)StreamingRelationV2(Spark Structured Streaming)