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

   ## Which issue does this PR close?
   
   - Closes #.
   
   ## Rationale for this change
   
   Draft POC for experimenting with Athena-style computation reuse in 
DataFusion.
   
   ## What changes are included in this PR?
   
   Adds a disabled-by-default `query_fusion` optimizer rule that rewrites 
narrow `UNION ALL` branches over the same source into one source plus branch 
tags and a combined filter.
   
   ## Are these changes tested?
   
   - `cargo test -p datafusion-optimizer query_fusion --lib`
   - `cargo fmt --all`
   - `cargo clippy --all-targets --all-features -- -D warnings`
   
   ## Are there any user-facing changes?
   
   No default behavior change. The POC is gated behind 
`datafusion.optimizer.enable_query_fusion`.
   


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