kosiew opened a new issue, #17763:
URL: https://github.com/apache/datafusion/issues/17763
# 4. Update pruning to handle `CastColumnExpr`
* **Goal:** Preserve statistics-based pruning when predicates include
struct-aware casts.
* **Scope & Location:** `datafusion/physical-optimizer/pruning` and its
tests.
* **Key Tasks:**
* Modify `rewrite_expr_to_prunable` (and related helpers) to unwrap or
appropriately interpret `CastColumnExpr`.
* Ensure predicate evaluation during pruning handles missing
fields/nullable differences correctly.
* Add regression tests covering struct predicates before/after pruning to
confirm behavior is unchanged or improved.
* **Dependencies:** Specs #1–3 should be merged; pruning relies on
expression and serialization support already in place.
* **Out of Scope:** Schema adapter rewrites or broader optimizer refactors.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]