Conversation
87c33c3 to
b5e0676
Compare
|
We don't mention internal changes in release notes, so this shouldn't need one. If there are any user visible changes, we should mention those changes explicitly in a language the end user or administrator would understand. |
plugin/trino-iceberg/pom.xml
Outdated
There was a problem hiding this comment.
Is this due to a version conflict?
There was a problem hiding this comment.
Yes, it appears there is a patch-level version dependency drift and the dependency enforcer caught it.
There was a problem hiding this comment.
I'm not sure if there's a better way to resolve this. This was the error (repeated for all iceberg dependencies):
Require upper bound dependencies error for org.slf4j:slf4j-api:1.7.32 paths to dependency are:
+-io.trino:trino-iceberg:391-SNAPSHOT
+-org.apache.iceberg:iceberg-api:0.14.0
+-org.slf4j:slf4j-api:1.7.32 (managed) <-- org.slf4j:slf4j-api:1.7.25
Iceberg is currently on 1.7.25
There was a problem hiding this comment.
That's weird that it complains when a dependency has an older patch version. Note that it would be good to update Iceberg to the latest 1.7.36, since some of the SLF4J components have CVEs in 1.7.25 and stupid security scanners will flag the API JAR (even though it's not affected).
There was a problem hiding this comment.
We can definitely update in the next release (I'll create a PR for updating). There was a gradle update and it may have changed how these are declared which triggered the enforcer, but the dependency is valid and hasn't changed.
plugin/trino-iceberg/pom.xml
Outdated
There was a problem hiding this comment.
Can we file an issue for this in Iceberg? This resource should be namespaced to avoid conflicts, or drop it entirely (since Iceberg doesn't use the public suffix functions).
There was a problem hiding this comment.
I'll bring this up because the iceberg-build.properties was recently introduced and is included in all the artifact jars so that it's clear where any given jar came from.
The suffix list is a conflict from http client libraries, I believe.
There was a problem hiding this comment.
Ah, I was thinking of the Guava com/google/thirdparty/publicsuffix package which is easy to miss since it's different than com/google/common. If Iceberg isn't the one shading the HTTP client, then there's nothing we can fix here.
For the iceberg-build.properties, you might consider putting it in META-INF, similar to how Maven does it with e.g., META-INF/maven/com.google.guava/guava/pom.properties.
plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/IcebergUtil.java
Outdated
Show resolved
Hide resolved
0a4fd84 to
c91fdf4
Compare
| <properties> | ||
| <air.main.basedir>${project.parent.basedir}</air.main.basedir> | ||
| <dep.iceberg.version>0.13.2</dep.iceberg.version> | ||
| <dep.iceberg.version>0.14.0</dep.iceberg.version> |
There was a problem hiding this comment.
Do you want to contribute to trinodb/docker-images as well?
https://github.com/trinodb/docker-images/blob/master/testing/spark3.0-iceberg/Dockerfile#L17
There was a problem hiding this comment.
Thanks for pointing this out @ebyhr, I'll open a PR
|
Thanks! |
Description
Iceberg client library and necessary changes to update to 0.14.0
Dependency update
Client library
Related issues, pull requests, and links
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: