Don't write to delta lake table with nonnullable/with invariants columns#13353
Conversation
ebyhr
left a comment
There was a problem hiding this comment.
Could you fix the commit title as like this?
Prevent writing to delta lake table with non-nullable or invariants columns
plugin/trino-delta-lake/src/main/java/io/trino/plugin/deltalake/DeltaLakeMetadata.java
Outdated
Show resolved
Hide resolved
...elta-lake/src/main/java/io/trino/plugin/deltalake/transactionlog/DeltaLakeSchemaSupport.java
Outdated
Show resolved
Hide resolved
...elta-lake/src/main/java/io/trino/plugin/deltalake/transactionlog/DeltaLakeSchemaSupport.java
Outdated
Show resolved
Hide resolved
...rino-delta-lake/src/test/java/io/trino/plugin/deltalake/TestDeltaLakeConnectorSmokeTest.java
Outdated
Show resolved
Hide resolved
...c/main/java/io/trino/tests/product/deltalake/TestDeltaLakeDatabricksInsertCompatibility.java
Outdated
Show resolved
Hide resolved
e8bf959 to
9dfd3f6
Compare
9dfd3f6 to
86c4ef3
Compare
|
There are a few other places where the Metadata entry is rewritten and existing nullability or invariants are probably dropped. Check out |
Addressed that issue in #13368 |
You didn't even give me a chance. But thanks! |
930e4ec to
86c4ef3
Compare
|
@homar please see the CI red. @homar @alexjo2144 can you propose RN wording? |
|
How about the below entry? # Delta Lake
* Prevent writing to a table with `NOT NULL` or [invariants](https://github.com/delta-io/delta/blob/master/PROTOCOL.md#column-invariants) columns. ({issue}`12635`) |
|
CI hit #13199 |
Do I understand correctly that this is not because of my PR ? |
Why does it even try to access Glue? there should be no secrets to do that. For the record, he failure is |
Because I sent #13381 to run added product test depending on Databricks. |
|
Merged, thanks! |
Description
Related issues, pull requests, and links
#12635
Documentation
(x) No documentation is needed.
( ) Sufficient documentation is included in this PR.
( ) Documentation PR is available with #prnumber.
( ) Documentation issue #issuenumber is filed, and can be handled later.
Release notes
(x) No release notes entries required.
( ) Release notes entries required with the following suggested text: