-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Add support for ALTER COLUMN ... DROP NOT NULL statement in Iceberg and PostgreSQL connectors
#20366
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
Conversation
bfe8661 to
09176e2
Compare
3a3de95 to
2ae4b4f
Compare
hashhar
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.
LGTM % "Add support for DROP NOT NULL in Iceberg" which I could not review with sufficient depth.
core/trino-main/src/main/java/io/trino/execution/DropNotNullTask.java
Outdated
Show resolved
Hide resolved
core/trino-grammar/src/main/antlr4/io/trino/grammar/sql/SqlBase.g4
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/DropNotNullTask.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/main/java/io/trino/execution/DropNotNullTask.java
Outdated
Show resolved
Hide resolved
core/trino-parser/src/main/java/io/trino/sql/tree/DropNotNull.java
Outdated
Show resolved
Hide resolved
|
@martint Should we rename method in SPI as well? |
core/trino-main/src/main/java/io/trino/execution/DropNotNullContraintTask.java
Outdated
Show resolved
Hide resolved
core/trino-parser/src/main/java/io/trino/sql/tree/AstVisitor.java
Outdated
Show resolved
Hide resolved
core/trino-parser/src/main/java/io/trino/sql/tree/DropNotNullConstraint.java
Outdated
Show resolved
Hide resolved
core/trino-spi/src/main/java/io/trino/spi/connector/ConnectorMetadata.java
Outdated
Show resolved
Hide resolved
...toolkit/src/main/java/io/trino/plugin/base/classloader/ClassLoaderSafeConnectorMetadata.java
Outdated
Show resolved
Hide resolved
plugin/trino-base-jdbc/src/main/java/io/trino/plugin/jdbc/BaseJdbcClient.java
Outdated
Show resolved
Hide resolved
plugin/trino-base-jdbc/src/main/java/io/trino/plugin/jdbc/CachingJdbcClient.java
Outdated
Show resolved
Hide resolved
plugin/trino-base-jdbc/src/main/java/io/trino/plugin/jdbc/JdbcClient.java
Outdated
Show resolved
Hide resolved
testing/trino-tests/src/test/java/io/trino/security/TestAccessControl.java
Outdated
Show resolved
Hide resolved
1733a9e to
293411c
Compare
|
Rebased on master to resolve conflicts. |
293411c to
92d5a2e
Compare
core/trino-main/src/main/java/io/trino/tracing/TracingMetadata.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/test/java/io/trino/execution/TestDropNotNullConstraintConstraintTask.java
Outdated
Show resolved
Hide resolved
core/trino-main/src/test/java/io/trino/execution/TestDropNotNullConstraintConstraintTask.java
Outdated
Show resolved
Hide resolved
plugin/trino-delta-lake/src/test/java/io/trino/plugin/deltalake/TestDeltaLakeConnectorTest.java
Outdated
Show resolved
Hide resolved
92d5a2e to
fa2e973
Compare
findinpath
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.
LGTM
Didn't review though extensively the PostgreSQL related commits
|
@martint Could you please take another look? |
core/trino-parser/src/main/java/io/trino/sql/tree/DropNotNullConstraint.java
Outdated
Show resolved
Hide resolved
fa2e973 to
13c0e6f
Compare
13c0e6f to
53e8b43
Compare
Description
Fixes #20315
Release notes
(x) Release notes are required, with the following suggested text: