-
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
Update Iceberg from 1.3.1 to 1.4.1 #19434
Conversation
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 % pom.xml changes
Please ping after Iceberg 1.4.1 is released officially. |
@@ -382,7 +382,7 @@ private static Metrics loadMetrics(TrinoInputFile file, HiveStorageFormat storag | |||
InputFile inputFile = new ForwardingInputFile(file); | |||
return switch (storageFormat) { | |||
case ORC -> OrcMetrics.fromInputFile(inputFile, METRICS_CONFIG, nameMapping); | |||
case PARQUET -> TrinoParquetUtil.fileMetrics(inputFile, METRICS_CONFIG, nameMapping); |
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.
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.
@ebyhr ?
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.
This change loos fine for me.
@@ -48,7 +48,6 @@ public static NessieIcebergClient createNessieIcebergClient(IcebergNessieCatalog | |||
return new NessieIcebergClient( | |||
HttpClientBuilder.builder() |
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.
HttpClientBuilder is deprecated now. Let's migrate to NessieClientBuilder in follow-up.
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.
ACK
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogModule.java
Show resolved
Hide resolved
...st/java/io/trino/plugin/iceberg/catalog/file/TestIcebergFileMetastoreCreateTableFailure.java
Show resolved
Hide resolved
Please squash commits into one. |
/test-with-secrets sha=1b4c5f8687c2b0e23efa8374def53cf4184340b0 |
The CI workflow run with tests that require additional secrets finished as failure: https://github.com/trinodb/trino/actions/runs/6620194009 |
.withEnableApiCompatibilityCheck(false) was introduced as a workaround and can be removed now. Details on the reasoning can be found at trinodb#17715 (comment) Co-authored-by: Fokko Driesprong <[email protected]>
@@ -4704,7 +4704,7 @@ protected void verifyIcebergTableProperties(MaterializedResult actual) | |||
assertThat(actual).isNotNull(); | |||
MaterializedResult expected = resultBuilder(getSession()) | |||
.row("write.format.default", format.name()) | |||
.build(); | |||
.row("write.parquet.compression-codec", "zstd").build(); |
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.
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.
we should adress this as part of apache/iceberg#9490
No description provided.