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

Complete moving PhysicalOptimizer into datafusion-physical-optimizer #14300

Merged
merged 7 commits into from
Jan 26, 2025

Conversation

berkaysynnada
Copy link
Contributor

@berkaysynnada berkaysynnada commented Jan 25, 2025

Which issue does this PR close?

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

@github-actions github-actions bot added optimizer Optimizer rules core Core DataFusion crate labels Jan 25, 2025
@berkaysynnada berkaysynnada changed the title Remove core/physical_optimizer Remove core/physical_optimizer (merge after #14298) Jan 25, 2025
@berkaysynnada berkaysynnada marked this pull request as draft January 25, 2025 20:06
@berkaysynnada
Copy link
Contributor Author

There are some doc update work. I'll get ready this PR shortly

@berkaysynnada berkaysynnada marked this pull request as ready for review January 25, 2025 22:18
@logan-keede
Copy link
Contributor

Closes #11502
Related to #13814

@alamb alamb marked this pull request as draft January 26, 2025 11:34
@alamb alamb marked this pull request as ready for review January 26, 2025 11:35
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @berkaysynnada and @logan-keede for pushing this along -- epic work

I reviewed the last 4 commits in this PR (what is on top of #14298) and it looks great to me. I think this PR just needs a merge up from main and it will be good to go

Thank you also @logan-keede for the ticket links -- I have added them to the PR description

@@ -66,6 +66,7 @@ datafusion-expr = { workspace = true }
datafusion-functions-window-common = { workspace = true }
datafusion-optimizer = { workspace = true, default-features = true }
datafusion-physical-expr = { workspace = true, default-features = true }
datafusion-physical-optimizer = { workspace = true, default-features = true }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This just follows the existing patterns so I think it is ok, but I think in general the examples should only be using the DataFusion crate (to ensure all relevant structures are exposed)

I will make a follow on PR

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -677,7 +677,6 @@ pub mod dataframe;
pub mod datasource;
pub mod error;
pub mod execution;
pub mod physical_optimizer;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@alamb alamb changed the title Remove core/physical_optimizer (merge after #14298) Complete moving PhysicalOptimizer into datafusion-physical-optimizer Jan 26, 2025
@berkaysynnada
Copy link
Contributor Author

I think this PR just needs a merge up from main and it will be good to go

Done

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EPIC!

@@ -66,6 +66,7 @@ datafusion-expr = { workspace = true }
datafusion-functions-window-common = { workspace = true }
datafusion-optimizer = { workspace = true, default-features = true }
datafusion-physical-expr = { workspace = true, default-features = true }
datafusion-physical-optimizer = { workspace = true, default-features = true }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alamb
Copy link
Contributor

alamb commented Jan 26, 2025

Let's do this. Thanks again @berkaysynnada -- very nice

@alamb alamb merged commit 7c07948 into apache:main Jan 26, 2025
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate optimizer Optimizer rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[EPIC] Extract remaining physical optimizer out of core
3 participants