Expand description
Two-pass optimizer pipeline that pushes cheap expressions (like struct field
access user['status']) closer to data sources, enabling early data reduction
and source-level optimizations (e.g., Parquet column pruning). See
ExtractLeafExpressions (pass 1) and PushDownLeafProjections (pass 2).
Structsยง
- Extract
Leaf Expressions - Extracts
MoveTowardsLeafNodessub-expressions from non-projection nodes into extraction projections (pass 1 of 2). - Push
Down Leaf Projections - Pushes extraction projections down through schema-preserving nodes towards
leaf nodes (pass 2 of 2, after
ExtractLeafExpressions).