-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EPIC] Extract remaining physical optimizer out of core #11502
Comments
@jayzhan211 @lewiszlw How do we plan on moving the rest of the functions. If we move the tests separately many of the tests depend on the traits in the functions that are being moved. Due to this it would make sense to import together, but then problems with the datasource and other util dependencies will pop up again. Do you guys have any solutions in mind? |
We may need to move We probably need to revisit this #10782 |
Try to move optimization that doesn't have datasource dependency like These are good first issues
Require datasource
If we only need datasource in test, leave the test in core |
@jayzhan211 Would you like to open a ticket for moving datasource out of core, so others are more aware of this transition? |
Not sure how do achieve this yet, the high level idea is tracked in #10782 |
take |
I filed some small tickets to get this project moving again: |
I filed a last few tickets
Once those are moved I think we can move the last remnants of the physical optimizer and close this ticket |
Is your feature request related to a problem or challenge?
Historically DataFusion was one (very) large crate
datafusion
, and as it grew bigger we extracted various functionality into separate crates. This leads to both faster compile times (as the crates can be compiled in parallel) as well easier to navigate code (as the crates force a cleaner dependency separation)This project tracks moving the physical optimizers:
Describe the solution you'd like
Pull physical optimizer rules to
datafusion-physical-optimizer
.There are some tests that have dependencies on
datasource
, which they are not possible to move out of core at this moment. We may need to leave those tests inside core for now.datafusion-physical-optimizer
crate #11507JoinSelection
intodatafusion-physical-optimizer
crate #14073SanityChecker
intodatafusion-physical-optimizer
crate #14072ProjectionPushdown
intodatafusion-physical-optimizer
crate #14184EnforceSorting
intodatafusion-physical-optimizer
crate #14185EnforceDistribution
intodatafusion-physical-optimizer
crate #14186PhysicalOptimizer
and any remaining crates intodatafusion-physical-optimizer
crate, remove datafusion/core/physical-optimizerDescribe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: