-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Disable ALTER TABLE SET PROPERTIES task #9765
Conversation
b28febf
to
076fd1d
Compare
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.
The shortcomings do not warrant the statement to be disabled. We should improve the shortcomings instead of killing the feature.
@findepi, we want to do a release in the next day or so. If we don't have enough time to finish the implementation by then, we should disable it for now. We don't want to ship something we'll have to break in the next release. |
Per my understanding on the discussion among maintainers, the shortcomings are going to be addressed by incremental improvement of the current syntax, so we don't need to disable anything for interim. @martint Please help me understand, if i got the conversation wrong. |
The changes from the current syntax are not incremental. Currently, we have:
The updated syntax is intended to match the syntax for UPDATE:
(in the future, we may also want to match this form of Thus, the updated syntax would be:
Additionally, the SPI is not appropriate for supporting setting nested properties or default values. Even if we're not planning on implementing that in the immediate future, we should update the SPI to allow for it. In its current shape, we'd need deprecate the API that's been implemented, have a transition path to the new one, etc. It seems pointless given that this is a new feature, so let's get that part right. |
i'd argue this is actually dangerous feature to have. collections are used eg to denote partitioning, and this should be modified as "a unit".
I am sure you know this isn't actually a problem, especially for an API that was recently introduced and is not widely adopted.
Both syntaxes will work, I am fine to have it your way and I agree the parens feel redundant. |
Actually @ebyhr noticed this likely won't require SPI change. |
076fd1d
to
da6a4aa
Compare
-> #9813 |
Disable until we fix some issues (nested properties, reset values to their default, etc).
da6a4aa
to
5a87d2e
Compare
Disable until we fix some issues (nested properties, reset values to their default, etc).