-
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
Support additional configurations for Nessie catalog #17725
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.
Nice improvement 👍
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogModule.java
Outdated
Show resolved
Hide resolved
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.
Please add tests (config test is insufficient especially for auth) and fix the commit title https://github.com/trinodb/trino/blob/master/.github/DEVELOPMENT.md#format-git-commit-messages
...n/trino-iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/AuthenticationType.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
824df79
to
24b4643
Compare
@ebyhr: Thanks for an awesome review.
|
ac7f884
to
0f9f61e
Compare
.../java/io/trino/plugin/iceberg/catalog/nessie/TestIcebergNessieCatalogConnectorSmokeTest.java
Outdated
Show resolved
Hide resolved
1a1bfec
to
a23af13
Compare
@ebyhr: The PR is ready. Can you please take another look? thanks. |
@ajantha-bhat thanks for adding this. |
True. Nessie is usually deployed with |
@findinpath: Thanks for self requesting the review. |
I just rebased the PR since there was a conflict in pom file. |
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Outdated
Show resolved
Hide resolved
...iceberg/src/main/java/io/trino/plugin/iceberg/catalog/nessie/IcebergNessieCatalogConfig.java
Show resolved
Hide resolved
Just pushed the rebase (no conflicts). I will work on comments on the latest code. |
eeda12c
to
da29c08
Compare
@ebyhr : Addressed all the comments except #17725 (comment) and #17725 (comment). (Both related to test refactoring) Let me know how to proceed further. |
I just did a rebase since there was conflict in |
Nessie server configurations like read-timeout-ms, connect-timeout-ms and enable-compression properties are exposed to have finer control over the Nessie commits.
Rebased agian to resolve conflict from Iceberg 1.4.1 version bump. |
b78b5ae
to
688d637
Compare
LGTM. |
Added an empty commit to retrigger the build as the testcase failure seems to be flaky (unrelated to Nessie) |
CI hit #18134 |
Nessie server can be deployed with Authentication mode with keycloak. So, need to expose the Nessie client configurations to handle the Auth.
Thanks @ebyhr for the thorough review and the guidance. |
It generates unnecessary clutter when running tests. Follow up to trinodb#17725
It generates unnecessary clutter when running tests. Follow up to #17725
Congratulations @ajantha-bhat .. great job. Thank you so much to @ebyhr for all the help and guidance. |
It generates unnecessary clutter when running tests. Follow up to trinodb#17725
Description
Nessie server can be deployed with Auth mode like keycloak.
So, need to expose the Nessie client configurations to handle the Auth.
Along with that, some common Nessie server configurations like read-timeout-ms,
connect-timeout-ms, and compression-enabled properties are exposed to have finer
control over the Nessie commits.
Additional context and related issues
https://projectnessie.org/tools/client_config/
Release notes
(x) Release notes are required, with the following suggested text: