AddMetadataColumns Logical Resolution Rule¶
AddMetadataColumns adds metadata columns to logical operators with metadata columns defined
AddMetadataColumns is a Rule to transform a LogicalPlan (Rule[LogicalPlan]).
AddMetadataColumns is part of the Resolution batch of the Analyzer.
Executing Rule¶
apply adds metadata columns to logical operators (with metadata columns defined).
addMetadataCol¶
addMetadataCol...FIXME
hasMetadataCol¶
hasMetadataCol is positive (true) when there is at least one Attribute expression (among the Expressions of the given LogicalPlan) for which either holds true:
- It is a metadata column
- ExprId of this
Attributeis among the metadata output attributes of any of the children of the given LogicalPlan