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

Minor: split EXPLAIN and ANALYZE planning into different functions #15188

Merged
merged 1 commit into from
Mar 12, 2025

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Mar 12, 2025

Note to reviewers

I recommend look at the diff while ignoring whitespace (e.g. this link) as I think the change is much clearer (and smaller)

Which issue does this PR close?

Rationale for this change

I would like to make it easier to review #15166 so I pulled out a mechanical change into a new PR

What changes are included in this PR?

  1. Break the handling of explain and analyze into two functions (with much less indent!)

Are these changes tested?

By existing tests

Are there any user-facing changes?

@github-actions github-actions bot added the core Core DataFusion crate label Mar 12, 2025
@alamb alamb marked this pull request as ready for review March 12, 2025 16:49
Copy link
Member

@waynexia waynexia left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @alamb!

@alamb
Copy link
Contributor Author

alamb commented Mar 12, 2025

Thanks for the review @waynexia !

Since this is a small refactoring I will merge this one in so I can get the real PR ready for review!

@alamb alamb merged commit db45ff3 into apache:main Mar 12, 2025
25 checks passed
@alamb alamb deleted the alamb/refactor_prep branch March 12, 2025 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core DataFusion crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants