Xuanwo opened a new pull request, #24873:
URL: https://github.com/apache/datafusion/pull/24873

   ## Which issue does this PR close?
   
   - Part of #318.
   - Umbrella PR: #23738.
   - Follow-up to #23828.
   
   ## Rationale for this change
   
   `AsOfJoinExec` already supports an internal output projection, but physical 
projection pushdown cannot currently populate it. Queries that need only a 
subset of ASOF output columns therefore retain a separate `ProjectionExec` and 
materialize unused join columns.
   
   ## What changes are included in this PR?
   
   - Implement the physical projection-embedding hook for `AsOfJoinExec`.
   - Preserve empty-projection row counts and decline unsafe repeated embedding.
   - Add focused execution coverage for projected, empty, and already-projected 
plans.
   
   ## Are these changes tested?
   
   - `cargo fmt --all -- --check`
   - `cargo clippy --all-targets --all-features -- -D warnings`
   - `cargo test -p datafusion-physical-plan joins::asof_join::tests 
--all-features`
   - Extended workspace tests from the contributor guide
   
   ## Are there any user-facing changes?
   
   No SQL or logical API changes. Physical plans may avoid materializing ASOF 
output columns that are not required downstream.
   


-- 
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]

Reply via email to