-
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
Require Debug
for PhysicalOptimizerRule
#12624
Conversation
Need to add the |
Thank you @AnthonyZhOon -- this looks super helpful |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love it -- thank you @AnthonyZhOon
Looks like there are some small CI failures to address @AnthonyZhOon |
… informs this is unnecessary This reverts commit f69d73c.
Okay, clippy lint should be fixed with the revert @alamb , odd that rust-analyzer misled me on the types at the time maybe it was an incomplete compile |
I think this one is minor enough and non controversial I will merge it in, even though it is an API change |
* Require Debug for PhysicalOptimizerRule * Add reference to meet &JoinType type required * Revert "Add reference to meet &JoinType type required" as clippy lint informs this is unnecessary This reverts commit f69d73c.
Which issue does this PR close?
Part of #12555
Rationale for this change
Supporting SessionStateBuilder to implement Debug
What changes are included in this PR?
Debug
for PhysicalOptimizerRule#derive
Debug where necessary3. Add a&
to take a&JoinType
inEnforceDistribution
(not sure why this wasn't acargo check
error but rust-analyzer showed it and types seem to require it)Are these changes tested?
By CI and the compiler
Are there any user-facing changes?
API change for
PhysicalOptimizerRule
which now requires Debug