Skip to content

Commit d9d424f

Browse files
authored
Merge branch 'main' into feature/array-position
2 parents cd3a577 + 68b2c4d commit d9d424f

222 files changed

Lines changed: 10448 additions & 3791 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/iceberg_spark_test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ on:
2626
branches:
2727
- main
2828
paths-ignore:
29+
- "benchmarks/**"
2930
- "doc/**"
3031
- "docs/**"
3132
- "**.md"
@@ -34,6 +35,7 @@ on:
3435
- "spark/src/test/scala/org/apache/spark/sql/benchmark/**"
3536
pull_request:
3637
paths-ignore:
38+
- "benchmarks/**"
3739
- "doc/**"
3840
- "docs/**"
3941
- "**.md"

.github/workflows/pr_build_linux.yml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ on:
2626
branches:
2727
- main
2828
paths-ignore:
29+
- "benchmarks/**"
2930
- "doc/**"
3031
- "docs/**"
3132
- "**.md"
@@ -34,6 +35,7 @@ on:
3435
- "spark/src/test/scala/org/apache/spark/sql/benchmark/**"
3536
pull_request:
3637
paths-ignore:
38+
- "benchmarks/**"
3739
- "doc/**"
3840
- "docs/**"
3941
- "**.md"
@@ -67,12 +69,12 @@ jobs:
6769
build-native:
6870
needs: lint
6971
name: Build Native Library
70-
runs-on: ubuntu-latest
72+
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-comet', github.run_id) || 'ubuntu-latest' }}
7173
container:
7274
image: amd64/rust
7375
steps:
76+
- uses: runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
7477
- uses: actions/checkout@v6
75-
7678
- name: Setup Rust toolchain
7779
uses: ./.github/actions/setup-builder
7880
with:
@@ -120,10 +122,12 @@ jobs:
120122
linux-test-rust:
121123
needs: lint
122124
name: ubuntu-latest/rust-test
123-
runs-on: ubuntu-latest
125+
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' }}
124126
container:
125127
image: amd64/rust
126128
steps:
129+
- uses: runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
130+
127131
- uses: actions/checkout@v6
128132

129133
- name: Setup Rust & Java toolchain
@@ -161,7 +165,6 @@ jobs:
161165
needs: build-native
162166
strategy:
163167
matrix:
164-
os: [ubuntu-latest]
165168
# the goal with these profiles is to get coverage of all Java, Scala, and Spark
166169
# versions without testing all possible combinations, which would be overkill
167170
profile:
@@ -273,14 +276,15 @@ jobs:
273276
value: |
274277
org.apache.spark.sql.CometToPrettyStringSuite
275278
fail-fast: false
276-
name: ${{ matrix.os }}/${{ matrix.profile.name }}/${{ matrix.profile.scan_impl }} [${{ matrix.suite.name }}]
277-
runs-on: ${{ matrix.os }}
279+
name: ${{ matrix.profile.name }}/${{ matrix.profile.scan_impl }} [${{ matrix.suite.name }}]
280+
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' }}
278281
container:
279282
image: amd64/rust
280283
env:
281284
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' || '' }}
282285

283286
steps:
287+
- uses: runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
284288
- uses: actions/checkout@v6
285289

286290
- name: Setup Rust & Java toolchain
@@ -310,7 +314,7 @@ jobs:
310314
- name: Java test steps
311315
uses: ./.github/actions/java-test
312316
with:
313-
artifact_name: ${{ matrix.os }}-${{ matrix.profile.name }}-${{ matrix.suite.name }}-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}
317+
artifact_name: ${{ matrix.profile.name }}-${{ matrix.suite.name }}-${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}
314318
suites: ${{ matrix.suite.name == 'sql' && matrix.profile.name == 'Spark 3.4, JDK 11, Scala 2.12' && '' || matrix.suite.value }}
315319
maven_opts: ${{ matrix.profile.maven_opts }}
316320
scan_impl: ${{ matrix.profile.scan_impl }}
@@ -321,10 +325,12 @@ jobs:
321325
verify-benchmark-results-tpch:
322326
needs: build-native
323327
name: Verify TPC-H Results
324-
runs-on: ubuntu-latest
328+
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' }}
325329
container:
326330
image: amd64/rust
327331
steps:
332+
- uses: runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
333+
328334
- uses: actions/checkout@v6
329335

330336
- name: Setup Rust & Java toolchain
@@ -373,14 +379,16 @@ jobs:
373379
verify-benchmark-results-tpcds:
374380
needs: build-native
375381
name: Verify TPC-DS Results (${{ matrix.join }})
376-
runs-on: ubuntu-latest
382+
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' }}
377383
container:
378384
image: amd64/rust
379385
strategy:
380386
matrix:
381387
join: [sort_merge, broadcast, hash]
382388
fail-fast: false
383389
steps:
390+
- uses: runs-on/action@cd2b598b0515d39d78c38a02d529db87d2196d1e # v2.0.3
391+
384392
- uses: actions/checkout@v6
385393

386394
- name: Setup Rust & Java toolchain

.github/workflows/pr_build_macos.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ on:
2626
branches:
2727
- main
2828
paths-ignore:
29+
- "benchmarks/**"
2930
- "doc/**"
3031
- "docs/**"
3132
- "**.md"
@@ -34,6 +35,7 @@ on:
3435
- "spark/src/test/scala/org/apache/spark/sql/benchmark/**"
3536
pull_request:
3637
paths-ignore:
38+
- "benchmarks/**"
3739
- "doc/**"
3840
- "docs/**"
3941
- "**.md"

.github/workflows/spark_sql_test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ on:
2626
branches:
2727
- main
2828
paths-ignore:
29+
- "benchmarks/**"
2930
- "doc/**"
3031
- "docs/**"
3132
- "**.md"
@@ -34,6 +35,7 @@ on:
3435
- "spark/src/test/scala/org/apache/spark/sql/benchmark/**"
3536
pull_request:
3637
paths-ignore:
38+
- "benchmarks/**"
3739
- "doc/**"
3840
- "docs/**"
3941
- "**.md"

.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)