Skip to content

Commit

Permalink
CLI: Pull in essential *FileIO dependencies for Iceberg REST (#9640)
Browse files Browse the repository at this point in the history
Fixes #9408
  • Loading branch information
snazy authored Sep 26, 2024
1 parent e4ab2e4 commit 7d845dd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ as necessary. Empty sections will not end in the release notes.

### Fixes

- CLI: Fix connecting to Nessie's Iceberg REST

### Commits

## [0.97.1] Release (2024-09-19)
Expand Down
14 changes: 11 additions & 3 deletions cli/cli/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,19 @@ dependencies {
implementation("org.apache.iceberg:iceberg-core")
runtimeOnly(libs.hadoop.common) { isTransitive = false }
// Include these FileIO implementations, as those are necessary to initialize
// RESTCatalog *sigh*. Those FileIO's aren't functional, because the necessary
// cloud specific clients (e.g. awssdk) are missing.
// RESTCatalog *sigh*. Those FileIO's aren't fully functional, because only the
// essential dependencies are pulled in to keep the size of the Nessie-CLI jar
// somewhat reasonable.
implementation("org.apache.iceberg:iceberg-aws")
implementation("org.apache.iceberg:iceberg-azure")
runtimeOnly(platform(libs.awssdk.bom))
runtimeOnly("software.amazon.awssdk:s3")
runtimeOnly("software.amazon.awssdk:sts")
implementation("org.apache.iceberg:iceberg-gcp")
runtimeOnly(platform(libs.google.cloud.storage.bom))
runtimeOnly("com.google.cloud:google-cloud-storage")
implementation("org.apache.iceberg:iceberg-azure")
runtimeOnly(platform(libs.azuresdk.bom))
runtimeOnly("com.azure:azure-storage-file-datalake")

compileOnly(libs.immutables.value.annotations)
annotationProcessor(libs.immutables.value.processor)
Expand Down

0 comments on commit 7d845dd

Please sign in to comment.