Skip to content
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

Bump Iceberg to 1.6.0 / enable view support #23

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: gradle/actions/wrapper-validation@v3

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

Expand All @@ -28,7 +30,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}

- name: BuildX and Push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
if: ${{ github.ref_name == 'master' }}
env:
IMAGE_TAG: ${{ inputs.tag }}
Expand All @@ -40,7 +42,7 @@ jobs:
tags: tabulario/iceberg-rest:latest,tabulario/iceberg-rest:${{ inputs.tag }}

- name: BuildX and Push
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
if: ${{ github.ref_name != 'master' }}
env:
IMAGE_TAG: ${{ inputs.tag }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docker-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: gradle/actions/wrapper-validation@v3

- name: Build image
run: docker build .
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ repositories {
}

ext {
icebergVersion = '1.4.3'
icebergVersion = '1.6.0'
hadoopVersion = '3.3.6'
}

Expand All @@ -45,12 +45,12 @@ dependencies {
runtimeOnly "org.apache.iceberg:iceberg-gcp-bundle:${icebergVersion}"

implementation 'org.apache.httpcomponents.client5:httpclient5:5.3.1'
implementation 'org.apache.httpcomponents.core5:httpcore5:5.2.4'
implementation 'org.apache.httpcomponents.core5:httpcore5:5.2.5'

implementation 'com.google.guava:guava:33.0.0-jre'
implementation 'com.google.guava:guava:33.3.0-jre'

implementation 'org.xerial:sqlite-jdbc:3.45.1.0'
implementation 'org.postgresql:postgresql:42.7.2'
implementation 'org.xerial:sqlite-jdbc:3.46.1.0'
implementation 'org.postgresql:postgresql:42.7.4'
}

jar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ private static CatalogContext backendCatalog() throws IOException {
CatalogProperties.CATALOG_IMPL, "org.apache.iceberg.jdbc.JdbcCatalog");
catalogProperties.putIfAbsent(
CatalogProperties.URI, "jdbc:sqlite:file:/tmp/iceberg_rest_mode=memory");
catalogProperties.putIfAbsent("jdbc.schema-version", "V1");

// Configure a default location if one is not specified
String warehouseLocation = catalogProperties.get(CatalogProperties.WAREHOUSE_LOCATION);
Expand Down