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 |
...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
Outdated
Show resolved
Hide resolved
core/trino-parser/src/test/java/io/trino/sql/parser/TestSqlParser.java
Outdated
Show resolved
Hide resolved
core/trino-spi/src/main/java/io/trino/spi/connector/ConnectorMetadata.java
Outdated
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
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
core/trino-parser/src/test/java/io/trino/sql/parser/TestSqlParser.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
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