Skip to content

Commit 3af0b12

Browse files
committed
Merge upstream/main into feature/iceberg-compaction-benchmark
1 parent e2e9c33 commit 3af0b12

220 files changed

Lines changed: 10708 additions & 3380 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,22 @@ updates:
3737
patterns:
3838
- "prost*"
3939
- "pbjson*"
40+
# Catch-all: group only minor/patch into a single PR,
41+
# excluding deps we want always separate (and excluding arrow/parquet which have their own group)
42+
all-other-cargo-deps:
43+
applies-to: version-updates
44+
patterns:
45+
- "*"
46+
exclude-patterns:
47+
- "arrow*"
48+
- "parquet"
49+
- "object_store"
50+
- "sqlparser"
51+
- "prost*"
52+
- "pbjson*"
53+
update-types:
54+
- "minor"
55+
- "patch"
4056
- package-ecosystem: "github-actions"
4157
directory: "/"
4258
schedule:

.github/workflows/pr_build_linux.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ jobs:
6767
build-native:
6868
needs: lint
6969
name: Build Native Library
70-
runs-on: ubuntu-latest
70+
runs-on: ${{ github.repository_owner == 'apache' && format('runs-on={0},family=m8a,cpu=8,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }}
7171
container:
7272
image: amd64/rust
7373
steps:
74+
- uses: runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
7475
- uses: actions/checkout@v6
75-
7676
- name: Setup Rust toolchain
7777
uses: ./.github/actions/setup-builder
7878
with:
@@ -120,10 +120,12 @@ jobs:
120120
linux-test-rust:
121121
needs: lint
122122
name: ubuntu-latest/rust-test
123-
runs-on: ubuntu-latest
123+
runs-on: ${{ github.repository_owner == 'apache' && format('runs-on={0},family=m8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }}
124124
container:
125125
image: amd64/rust
126126
steps:
127+
- uses: runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
128+
127129
- uses: actions/checkout@v6
128130

129131
- name: Setup Rust & Java toolchain
@@ -161,7 +163,6 @@ jobs:
161163
needs: build-native
162164
strategy:
163165
matrix:
164-
os: [ubuntu-latest]
165166
# the goal with these profiles is to get coverage of all Java, Scala, and Spark
166167
# versions without testing all possible combinations, which would be overkill
167168
profile:
@@ -273,14 +274,15 @@ jobs:
273274
value: |
274275
org.apache.spark.sql.CometToPrettyStringSuite
275276
fail-fast: false
276-
name: ${{ matrix.os }}/${{ matrix.profile.name }}/${{ matrix.profile.scan_impl }} [${{ matrix.suite.name }}]
277-
runs-on: ${{ matrix.os }}
277+
name: ${{ matrix.profile.name }}/${{ matrix.profile.scan_impl }} [${{ matrix.suite.name }}]
278+
runs-on: ${{ github.repository_owner == 'apache' && format('runs-on={0},family=m8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion-comet', github.run_id) || 'ubuntu-latest' }}
278279
container:
279280
image: amd64/rust
280281
env:
281282
JAVA_TOOL_OPTIONS: ${{ matrix.profile.java_version == '17' && '--add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-exports=java.base/sun.util.calendar=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED' || '' }}
282283

283284
steps:
285+
- uses: runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
284286
- uses: actions/checkout@v6
285287

286288
- name: Setup Rust & Java toolchain
@@ -310,7 +312,7 @@ jobs:
310312
- name: Java test steps
311313
uses: ./.github/actions/java-test
312314
with:
313-
artifact_name: ${{ matrix.os }}-${{ matrix.profile.name }}-${{ matrix.suite.name }}-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}
315+
artifact_name: ${{ matrix.profile.name }}-${{ matrix.suite.name }}-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}
314316
suites: ${{ matrix.suite.name == 'sql' && matrix.profile.name == 'Spark 3.4, JDK 11, Scala 2.12' && '' || matrix.suite.value }}
315317
maven_opts: ${{ matrix.profile.maven_opts }}
316318
scan_impl: ${{ matrix.profile.scan_impl }}
@@ -321,10 +323,12 @@ jobs:
321323
verify-benchmark-results-tpch:
322324
needs: build-native
323325
name: Verify TPC-H Results
324-
runs-on: ubuntu-latest
326+
runs-on: ${{ github.repository_owner == 'apache' && format('runs-on={0},family=m8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }}
325327
container:
326328
image: amd64/rust
327329
steps:
330+
- uses: runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
331+
328332
- uses: actions/checkout@v6
329333

330334
- name: Setup Rust & Java toolchain
@@ -373,14 +377,16 @@ jobs:
373377
verify-benchmark-results-tpcds:
374378
needs: build-native
375379
name: Verify TPC-DS Results (${{ matrix.join }})
376-
runs-on: ubuntu-latest
380+
runs-on: ${{ github.repository_owner == 'apache' && format('runs-on={0},family=m8a,cpu=16,image=ubuntu24-full-x64,extras=s3-cache,disk=large,tag=datafusion', github.run_id) || 'ubuntu-latest' }}
377381
container:
378382
image: amd64/rust
379383
strategy:
380384
matrix:
381385
join: [sort_merge, broadcast, hash]
382386
fail-fast: false
383387
steps:
388+
- uses: runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
389+
384390
- uses: actions/checkout@v6
385391

386392
- name: Setup Rust & Java toolchain

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
issues: write
2828
pull-requests: write
2929
steps:
30-
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
30+
- uses: actions/stale@b5d41d4e1d5dceea10e7104786b73624c18a190f # v10.2.0
3131
with:
3232
stale-pr-message: "Thank you for your contribution. Unfortunately, this pull request is stale because it has been open 60 days with no activity. Please remove the stale label or comment or this will be closed in 7 days."
3333
days-before-pr-stale: 60

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ filtered_rat.txt
1717
dev/dist
1818
apache-rat-*.jar
1919
venv
20+
.venv
2021
dev/release/comet-rm/workdir
2122
spark/benchmarks
2223
.DS_Store
2324
comet-event-trace.json
2425
__pycache__
26+
output

0 commit comments

Comments
 (0)