-
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
Add ALTER TABLE SET PROPERTIES statement #9401
Conversation
Some properties are easy to change (e.g. I wonder whether we should integrate this statement with ALTER TABLE .. EXECUTE work @ #9398 / #9466 cc @losipiuk |
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.
skimmed
...n/trino-postgresql/src/test/java/io/trino/plugin/postgresql/TestPostgreSqlConnectorTest.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/SetPropertiesTask.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/SetPropertiesTask.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/SetPropertiesTask.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/server/QueryExecutionFactoryModule.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/testing/TestingAccessControlManager.java
Show resolved
Hide resolved
core/trino-spi/src/main/java/io/trino/spi/connector/ConnectorMetadata.java
Show resolved
Hide resolved
935c407
to
c5dcb74
Compare
Eventually we may want to decide to share execution logic for such. But I would start with low hanging fruits, and just support "simple" properties in |
729ecee
to
658f2f5
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.
lgtm % comments
core/trino-main/src/main/java/io/trino/execution/SetPropertiesTask.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/SetPropertiesTask.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/metadata/AbstractPropertyManager.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/SetPropertiesTask.java
Outdated
Show resolved
Hide resolved
...toolkit/src/main/java/io/trino/plugin/base/classloader/ClassLoaderSafeConnectorMetadata.java
Outdated
Show resolved
Hide resolved
plugin/trino-hive/src/main/java/io/trino/plugin/hive/security/SqlStandardAccessControl.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/sql/analyzer/FeaturesConfig.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/metadata/AbstractPropertyManager.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/security/AccessControl.java
Outdated
Show resolved
Hide resolved
4a03c7f
to
0800d4f
Compare
core/trino-main/src/main/java/io/trino/execution/CreateTableTask.java
Outdated
Show resolved
Hide resolved
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 % comments
core/trino-main/src/main/java/io/trino/execution/CreateTableTask.java
Outdated
Show resolved
Hide resolved
core/trino-spi/src/main/java/io/trino/spi/connector/ConnectorMetadata.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/sql/analyzer/FeaturesConfig.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/test/java/io/trino/connector/MockConnector.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/security/AccessControl.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/security/ForwardingAccessControl.java
Outdated
Show resolved
Hide resolved
@sopel39 Applied comments. |
plugin/trino-base-jdbc/src/main/java/io/trino/plugin/jdbc/ForwardingJdbcClient.java
Outdated
Show resolved
Hide resolved
4e1693b
to
cf368de
Compare
Supersedes #8908
https://trinodb.slack.com/archives/CP1MUNEUX/p1631676807141200