Skip to content
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

Move SanityChecker into datafusion-physical-optimizer crate #14072

Closed
Tracked by #11502
alamb opened this issue Jan 10, 2025 · 6 comments · Fixed by #14083
Closed
Tracked by #11502

Move SanityChecker into datafusion-physical-optimizer crate #14072

alamb opened this issue Jan 10, 2025 · 6 comments · Fixed by #14083
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@alamb
Copy link
Contributor

alamb commented Jan 10, 2025

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)

One project we have not yet completed is to extract the physical optimizer passes out #11502

Describe the solution you'd like

Extract the SanityChecker from the datafusion core crate to the datafusion-physical-optimizer crate

Describe alternatives you've considered

Move https://github.com/apache/datafusion/blob/main/datafusion/core/src/physical_optimizer/sanity_checker.rs to
https://github.com/apache/datafusion/tree/main/datafusion/physical-optimizer/src/sanity_checker.rs

Additional context

Here is an example PR:

I think this is a good first issue as it is mostly mechanical and does not require deep internals knowledge

@alamb alamb added the enhancement New feature or request label Jan 10, 2025
@alamb alamb added the good first issue Good for newcomers label Jan 10, 2025
@cj-zhukov
Copy link
Contributor

take

@alamb
Copy link
Contributor Author

alamb commented Jan 10, 2025

Thanks @cj-zhukov !

@mnpw
Copy link
Contributor

mnpw commented Jan 11, 2025

@cj-zhukov Apologies, I started working on this PR without explicitly assigning it to myself. Would appreciate your review on #14083.

@cj-zhukov
Copy link
Contributor

@mnpw OK, to avoid such situation in the future, please be attentive in following the rules

@alamb
Copy link
Contributor Author

alamb commented Jan 11, 2025

@mnpw OK, to avoid such situation in the future, please be attentive in following the rules

FWIW the guidelines are here:
https://datafusion.apache.org/contributor-guide/index.html#open-contribution-and-assigning-tickets

TLDR it is polite (but not required) to give a heads up on the ticket

@cj-zhukov
Copy link
Contributor

@mnpw OK, to avoid such situation in the future, please be attentive in following the rules

FWIW the guidelines are here: https://datafusion.apache.org/contributor-guide/index.html#open-contribution-and-assigning-tickets

TLDR it is polite (but not required) to give a heads up on the ticket

Andrew, thanks for the clarification and sharing the guidelines! I’ll keep this in mind going forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants