You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "AnthonyZhOon (via GitHub)" <gi...@apache.org> on 2024/09/25 15:40:44 UTC
[PR] Require `Debug` for `PhysicalOptimizerRule` [datafusion]
AnthonyZhOon opened a new pull request, #12624:
URL: https://github.com/apache/datafusion/pull/12624
## Which issue does this PR close?
Part of #12555
## Rationale for this change
Supporting [SessionStateBuilder](https://docs.rs/datafusion/latest/datafusion/execution/session_state/struct.SessionStateBuilder.html) to implement Debug
<!--
Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed.
Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes.
-->
## What changes are included in this PR?
1. Require `Debug` for PhysicalOptimizerRule
2. `#derive` Debug where necessary
3. Add a `&` to take a `&JoinType` in `EnforceDistribution` (not sure why this wasn't a `cargo 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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Require `Debug` for `PhysicalOptimizerRule` [datafusion]
Posted by "AnthonyZhOon (via GitHub)" <gi...@apache.org>.
AnthonyZhOon commented on PR #12624:
URL: https://github.com/apache/datafusion/pull/12624#issuecomment-2374453638
Need to add the `api-change` label
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Require `Debug` for `PhysicalOptimizerRule` [datafusion]
Posted by "AnthonyZhOon (via GitHub)" <gi...@apache.org>.
AnthonyZhOon commented on PR #12624:
URL: https://github.com/apache/datafusion/pull/12624#issuecomment-2374597934
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
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Require `Debug` for `PhysicalOptimizerRule` [datafusion]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #12624:
URL: https://github.com/apache/datafusion/pull/12624#issuecomment-2374830778
I think this one is minor enough and non controversial I will merge it in, even though it is an API change
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Require `Debug` for `PhysicalOptimizerRule` [datafusion]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb merged PR #12624:
URL: https://github.com/apache/datafusion/pull/12624
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Require `Debug` for `PhysicalOptimizerRule` [datafusion]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #12624:
URL: https://github.com/apache/datafusion/pull/12624#issuecomment-2374513355
Looks like there are some small CI failures to address @AnthonyZhOon
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] Require `Debug` for `PhysicalOptimizerRule` [datafusion]
Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #12624:
URL: https://github.com/apache/datafusion/pull/12624#issuecomment-2374455654
Thank you @AnthonyZhOon -- this looks super helpful
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org