ResolveDefaultColumns Logical Resolution Rule¶
ResolveDefaultColumns is executed only when spark.sql.defaultColumn.enabled is enabled.
ResolveDefaultColumns takes the following to be created:
ResolveDefaultColumns is created when:
Analyzeris requested for the batches
apply( plan: LogicalPlan): LogicalPlan
apply is part of the Rule abstraction.
ResolveDefaultColumns does nothing and returns the logical plan in-tact when spark.sql.defaultColumn.enabled is disabled.
With spark.sql.defaultColumn.enabled enabled,
apply resolves the following operators (top-down):