-
Notifications
You must be signed in to change notification settings - Fork 209
[AURON #2015] Add Native Scan Support for Apache Iceberg Copy-On-Write Tables. #2016
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
base: master
Are you sure you want to change the base?
Changes from all commits
41e9318
af511fb
581d87c
d107323
20e7f29
e09a8bd
eb482ae
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,94 @@ | ||
| # | ||
| # Licensed to the Apache Software Foundation (ASF) under one or more | ||
| # contributor license agreements. See the NOTICE file distributed with | ||
| # this work for additional information regarding copyright ownership. | ||
| # The ASF licenses this file to You under the Apache License, Version 2.0 | ||
| # (the "License"); you may not use this file except in compliance with | ||
| # the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
| # | ||
|
|
||
| name: Iceberg | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - master | ||
| - branch-* | ||
| pull_request: | ||
| branches: | ||
| - master | ||
| - branch-* | ||
|
|
||
| concurrency: | ||
| group: iceberg-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| test-iceberg: | ||
| name: Test Iceberg (${{ matrix.sparkver }} / JDK${{ matrix.javaver }} / Scala${{ matrix.scalaver }}) | ||
| runs-on: ubuntu-24.04 | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - sparkver: "3.4" | ||
| scalaver: "2.12" | ||
| javaver: "17" | ||
| - sparkver: "3.5" | ||
| scalaver: "2.12" | ||
| javaver: "17" | ||
| - sparkver: "3.5" | ||
| scalaver: "2.12" | ||
| javaver: "21" | ||
| - sparkver: "4.0" | ||
| scalaver: "2.13" | ||
| javaver: "21" | ||
|
|
||
| steps: | ||
| - name: Checkout Auron | ||
| uses: actions/checkout@v6 | ||
|
|
||
| - name: Setup Java and Maven cache | ||
| uses: actions/setup-java@v5 | ||
| with: | ||
| distribution: 'adopt-hotspot' | ||
| java-version: ${{ matrix.javaver }} | ||
| cache: 'maven' | ||
|
|
||
| - name: Build dependencies (skip tests) | ||
| run: > | ||
| ./build/mvn -B install | ||
| -pl thirdparty/auron-iceberg | ||
| -am | ||
| -Pscala-${{ matrix.scalaver }} | ||
| -Pspark-${{ matrix.sparkver }} | ||
| -Piceberg | ||
| -DicebergEnabled=true | ||
| -DicebergVersion=1.10.1 | ||
| -DskipTests | ||
|
|
||
| - name: Test Iceberg Module | ||
| run: > | ||
| ./build/mvn -B test | ||
| -pl thirdparty/auron-iceberg | ||
| -Pscala-${{ matrix.scalaver }} | ||
| -Pspark-${{ matrix.sparkver }} | ||
| -Piceberg | ||
| -DicebergEnabled=true | ||
| -DicebergVersion=1.10.1 | ||
|
|
||
| - name: Upload reports | ||
| if: failure() | ||
| uses: actions/upload-artifact@v6 | ||
| with: | ||
| name: auron-iceberg-${{ matrix.sparkver }}-jdk${{ matrix.javaver }}-test-report | ||
| path: thirdparty/auron-iceberg/target/surefire-reports |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -48,15 +48,15 @@ else | |||||
| cargo fmt --all -q -- | ||||||
| fi | ||||||
|
|
||||||
| # Check or format all code, including third-party code, with spark-3.5 | ||||||
| # Check or format all code, including third-party code, with spark-3.4 | ||||||
| sparkver=spark-3.5 | ||||||
|
Comment on lines
+51
to
52
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should the comment be spark-3.5? |
||||||
| for celebornver in celeborn-0.5 celeborn-0.6 | ||||||
| do | ||||||
| run_maven -P"${sparkver}" -Pceleborn,"${celebornver}" -Puniffle,uniffle-0.10 -Ppaimon,paimon-1.2 -Pflink,flink-1.18 -Piceberg,iceberg-1.9 | ||||||
| run_maven -P"${sparkver}" -P"${celebornver}" -Puniffle-0.10 -Ppaimon-1.2 -Pflink-1.18 -Piceberg -DicebergEnabled=true -DicebergVersion=1.10.1 | ||||||
|
|
||||||
| done | ||||||
|
|
||||||
| sparkvers=(spark-3.0 spark-3.1 spark-3.2 spark-3.3 spark-3.4) | ||||||
| sparkvers=(spark-3.0 spark-3.1 spark-3.2 spark-3.3 spark-3.5) | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change seems unnecessary.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||||||
| sparkvers=(spark-3.0 spark-3.1 spark-3.2 spark-3.3 spark-3.5) | |
| sparkvers=(spark-3.0 spark-3.1 spark-3.2 spark-3.3 spark-3.4) |
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.
The comment says "spark-3.4" but the code uses "spark-3.5". Update the comment to accurately reflect the Spark version being used.