You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "kosiew (via GitHub)" <gi...@apache.org> on 2025/06/25 08:51:18 UTC
[PR] Move Pruning Logic to a Dedicated datafusion-pruning Crate for Improved Modularity [datafusion]
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-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Move Pruning Logic to a Dedicated datafusion-pruning Crate for Improved Modularity [datafusion]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb merged PR #16549:
URL: https://github.com/apache/datafusion/pull/16549
--
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-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Move Pruning Logic to a Dedicated datafusion-pruning Crate for Improved Modularity [datafusion]
Posted by "adriangb (via GitHub)" <gi...@apache.org>.
adriangb commented on PR #16549:
URL: https://github.com/apache/datafusion/pull/16549#issuecomment-3005986962
Sounds good to me!
--
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-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org