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

   ## Which issue does this PR close?
   
   Closes #16542
   
   ## Rationale for this change
   
   This change modularizes the pruning functionality currently embedded within 
the core DataFusion codebase. By isolating the pruning logic into its own crate 
(`datafusion-pruning`), we enable reuse outside of DataFusion, simplify 
maintenance, and establish a cleaner architectural separation.
   
   ## What changes are included in this PR?
   
   - Extracted `PruningPredicate` and associated logic from 
`datafusion/physical-optimizer/src/pruning.rs`.
   - Created a new crate `datafusion/pruning` with its own `Cargo.toml`.
   - Added `datafusion-pruning` as a dependency in relevant modules.
   - Updated module imports to reference the new crate.
   - Ensured compatibility by maintaining existing interfaces where possible.
   
   ## Are these changes tested?
   
   Yes, the pruning logic has been transferred along with its test coverage. 
Additional integration tests will ensure the new crate works as intended within 
the DataFusion ecosystem.
   
   ## Are there any user-facing changes?
   
   There are no functional changes for end users. However, developers using or 
extending pruning logic will now interact with the `datafusion-pruning` crate 
instead of internal modules within DataFusion.
   
   <!--
   If there are any breaking changes to public APIs, please add the `api 
change` label.
   -->
   


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to