-
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
Document ALTER MATERIALIZED VIEW/TABLE ... SET PROPERTIES #10774
Comments
@sunningCGo Could you help here? |
Hi @mosabua , here is the info regarding #9613. The PR implements two features. First of all, it implements support for
It sets the specified properties of the specified materialized view to the specified values (without changing the existing value of any other property). For example, to set the property
Currently, no connector supports Secondly, the PR introduces a new keyword
In addition, the following six kinds of SQL statements also gain support for the
So in any one of the six kinds of statements above, wherever a property value is expected, one can use the
has the same effect has
Note, however, that the following two statements are different
The first statement above sets |
Okay .. so given all that .. we need to document this in https://trino.io/docs/current/sql/alter-materialized-view.html and edit that document to support the different use cases of RENAME and SET PROPERTIES Do you want me (or someone from my team) to create a draft and then you can help with review and merge @kokosing @joshthoward ? |
@mosabua that would be great. Please tag @sunningCGo and I to review. |
Hi all, previously I mentioned that, in addition to Another PR, namely #10331, has just been merged. That PR adds support for the Together, those two PR's mean that, in any statement in which one can specify a property, one can use The way
The first statement above sets p2 to its default value whereas the second one leaves the existing p2 value untouched. |
Closing as |
Follow up to #9613
Maybe @sopel39 and @sunningCGo can provide information here or a draft docs PR. Either way .. I can help with review or more.
The text was updated successfully, but these errors were encountered: