Skip to content

Commit 4f06064

Browse files
authored
Update Iceberg configs to use S3 with Hadoop catalog for cloud compatibility (#86)
Signed-off-by: Marvin Froeder <marvin@datasqrl.com>
1 parent 56395ef commit 4f06064

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ on:
55
branches: [ "main" ]
66
pull_request:
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
build:
10-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-latest-4-cores
1115
timeout-minutes: 30
1216

1317
strategy:
@@ -168,6 +172,9 @@ jobs:
168172
for cmd in "${cmds[@]}"; do
169173
echo "::group::Running: $cmd"
170174
docker run -i -p 8888:8888 -p 8081:8081 -p 9092:9092 \
175+
-e AWS_ACCESS_KEY_ID="${{ secrets.AWS_ACCESS_KEY_ID }}" \
176+
-e AWS_SECRET_ACCESS_KEY="${{ secrets.AWS_SECRET_ACCESS_KEY }}" \
177+
-e AWS_REGION="${{ secrets.AWS_REGION }}" \
171178
--rm -v "$PWD":/build "datasqrl/cmd:${SQRL_VERSION}" $cmd
172179
echo "::endgroup::"
173180
done

healthcare-study/healthcare-study-analytics/study_analytics_package_snowflake.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,9 @@
1818
},
1919
"connectors": {
2020
"iceberg": {
21-
"warehouse": "s3://my-iceberg-warehouse",
22-
"catalog-impl": "org.apache.iceberg.aws.glue.GlueCatalog",
23-
"io-impl": "org.apache.iceberg.aws.s3.S3FileIO",
24-
"catalog-name": "mycatalog",
25-
"catalog-database": "mydatabase"
21+
"warehouse": "s3a://sqrl-examples-data-bucket/datasqrl-examples/healthcare-study-analytics-iceberg",
22+
"catalog-type": "hadoop",
23+
"catalog-name": "mycatalog"
2624
}
2725
}
2826
}

test-jobs/aggregation-query-test-iceberg-package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"connectors": {
1616
"iceberg": {
17-
"warehouse": "warehouse",
17+
"warehouse": "s3a://sqrl-examples-data-bucket/datasqrl-examples/iceberg-canary",
1818
"catalog-type": "hadoop",
1919
"catalog-name": "mycatalog"
2020
}

0 commit comments

Comments
 (0)