Module datafusion::optimizer::optimize_projections
source · Expand description
Optimizer rule to prune unnecessary columns from intermediate schemas
inside the LogicalPlan
. This rule:
- Removes unnecessary columns that do not appear at the output and/or are not used during any computation step.
- Adds projections to decrease table column size before operators that benefit from a smaller memory footprint at its input.
- Removes unnecessary
LogicalPlan::Projection
s from theLogicalPlan
.
Structs§
- A rule for optimizing logical plans by removing unused columns/fields.