-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Add upgrade guide for PhysicalOptimizerRule::optimize_plan #19030
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
Conversation
| - Session extensions via `context.session_config().extensions()` | ||
|
|
||
| This enables optimizer rules to access custom extensions registered with the session, which was not possible with the old `&ConfigOptions` parameter. | ||
|
|
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.
Maybe change to extension should be mentioned as well?
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.
I think we just made something that was private public - is that really worth mentioning?
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.
You’re right, the previous methods remain unchanged so from the user’s perspective nothing changes. My apologies.
2010YOUY01
left a comment
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.
LGTM, thank you!
|
|
||
| **Who is affected:** | ||
|
|
||
| - Users who have implemented custom `PhysicalOptimizerRule` implementations |
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.
cc @zhuqi-lucas / @jcsherin , we need to make some changes for the next upgrade
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.
Sorry about this! At least it should be pretty mechanical and you'll have several releases...
Co-authored-by: Yongting You <2010youy01@gmail.com>
Closes #19029