-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Deprecate join-pushdown.with-expressions config property #27498
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
base: master
Are you sure you want to change the base?
Deprecate join-pushdown.with-expressions config property #27498
Conversation
kokosing
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.
% comment
| return complexJoinPushdownEnabled; | ||
| } | ||
|
|
||
| @Deprecated |
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.
This does not help users.
The best way is to rename the property to deprecated.join-.... That way it is clear to them that they need to stop using it soon.
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.
this triggers a warning during server startup if config property is still used
i agree than rename is much easier to nice (fails startup).
breaking without a warning upfront sounds not nice, but then it would require deprecate => rename => remove, 3 step process
airlift/airlift#756 was meant to help with this in a structured manner
btw i always though that prop names with "deprecated." are originally added as such?
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 renamed like that few properties.
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.
Done
Deprecate `join-pushdown.with-expressions` config property and associated `complex_join_pushdown_enabled` session property. It was added for transition period when join pushdown behavior was being build out. Removing it will allow simplifying code.
ebcd45f to
701c4e0
Compare
Deprecate
join-pushdown.with-expressionsconfig property and associatedcomplex_join_pushdown_enabledsession property. It was added for transition period when join pushdown behavior was being build out. Removing it will allow simplifying code.