Skip to main content

Module optimize_projections

Module optimize_projections 

Source
Expand description

OptimizeProjections identifies and eliminates unused columns

§Precedence over PushDownLeafProjections

OptimizeProjections merges adjacent projections, including a recovery projection over an extraction projection that PushDownLeafProjections creates. To keep the two rules from undoing each other, PushDownLeafProjections only creates that pair when the extraction projection moves below the input. See the module documentation of extract_leaf_expressions.

Structs§

OptimizeProjections
Optimizer rule to prune unnecessary columns from intermediate schemas inside the LogicalPlan. This rule:

Functions§

is_projection_unnecessary
Projection is unnecessary, when