Skip to content

Commit 3472352

Browse files
committed
Merge remote-tracking branch 'upstream/main' into concat_batches_for_sort
2 parents 485499f + e6df27c commit 3472352

File tree

929 files changed

+50106
-19920
lines changed

Some content is hidden

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

929 files changed

+50106
-19920
lines changed

.github/workflows/extended.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,17 @@ jobs:
101101
- name: Run tests (excluding doctests)
102102
env:
103103
RUST_BACKTRACE: 1
104-
run: cargo test --profile ci --exclude datafusion-examples --exclude datafusion-benchmarks --workspace --lib --tests --bins --features avro,json,backtrace,extended_tests,recursive_protection
104+
run: |
105+
cargo test \
106+
--profile ci \
107+
--exclude datafusion-examples \
108+
--exclude datafusion-benchmarks \
109+
--exclude datafusion-cli \
110+
--workspace \
111+
--lib \
112+
--tests \
113+
--bins \
114+
--features avro,json,backtrace,extended_tests,recursive_protection
105115
- name: Verify Working Directory Clean
106116
run: git diff --exit-code
107117
- name: Cleanup
@@ -126,7 +136,7 @@ jobs:
126136
- name: Run tests
127137
run: |
128138
cd datafusion
129-
cargo test --profile ci --exclude datafusion-examples --exclude datafusion-benchmarks --exclude datafusion-sqllogictest --workspace --lib --tests --features=force_hash_collisions,avro
139+
cargo test --profile ci --exclude datafusion-examples --exclude datafusion-benchmarks --exclude datafusion-sqllogictest --exclude datafusion-cli --workspace --lib --tests --features=force_hash_collisions,avro
130140
cargo clean
131141
132142
sqllogictest-sqlite:

.github/workflows/dev_pr.yml renamed to .github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
uses: actions/[email protected]
5050
with:
5151
repo-token: ${{ secrets.GITHUB_TOKEN }}
52-
configuration-path: .github/workflows/dev_pr/labeler.yml
52+
configuration-path: .github/workflows/labeler/labeler-config.yml
5353
sync-labels: true
5454

5555
# TODO: Enable this when eps1lon/actions-label-merge-conflict is available.

.github/workflows/dev_pr/labeler.yml renamed to .github/workflows/labeler/labeler-config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ physical-expr:
4141

4242
physical-plan:
4343
- changed-files:
44-
- any-glob-to-any-file: [datafusion/physical-plan/**/*']
44+
- any-glob-to-any-file: ['datafusion/physical-plan/**/*']
4545

4646

4747
catalog:
@@ -77,6 +77,10 @@ proto:
7777
- changed-files:
7878
- any-glob-to-any-file: ['datafusion/proto/**/*', 'datafusion/proto-common/**/*']
7979

80+
spark:
81+
- changed-files:
82+
- any-glob-to-any-file: ['datafusion/spark/**/*']
83+
8084
substrait:
8185
- changed-files:
8286
- any-glob-to-any-file: ['datafusion/substrait/**/*']

.github/workflows/rust.yml

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,6 @@ on:
3939
workflow_dispatch:
4040

4141
jobs:
42-
# Check license header
43-
license-header-check:
44-
runs-on: ubuntu-latest
45-
name: Check License Header
46-
steps:
47-
- uses: actions/checkout@v4
48-
- uses: korandoru/hawkeye@v6
49-
5042
# Check crate compiles and base cargo check passes
5143
linux-build-lib:
5244
name: linux build test
@@ -401,8 +393,8 @@ jobs:
401393
- name: Run tests with headless mode
402394
working-directory: ./datafusion/wasmtest
403395
run: |
404-
wasm-pack test --headless --firefox
405-
wasm-pack test --headless --chrome --chromedriver $CHROMEWEBDRIVER/chromedriver
396+
RUSTFLAGS='--cfg getrandom_backend="wasm_js"' wasm-pack test --headless --firefox
397+
RUSTFLAGS='--cfg getrandom_backend="wasm_js"' wasm-pack test --headless --chrome --chromedriver $CHROMEWEBDRIVER/chromedriver
406398
407399
# verify that the benchmark queries return the correct results
408400
verify-benchmark-results:
@@ -476,6 +468,28 @@ jobs:
476468
POSTGRES_HOST: postgres
477469
POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}
478470

471+
sqllogictest-substrait:
472+
name: "Run sqllogictest in Substrait round-trip mode"
473+
needs: linux-build-lib
474+
runs-on: ubuntu-latest
475+
container:
476+
image: amd64/rust
477+
steps:
478+
- uses: actions/checkout@v4
479+
with:
480+
submodules: true
481+
fetch-depth: 1
482+
- name: Setup Rust toolchain
483+
uses: ./.github/actions/setup-builder
484+
with:
485+
rust-version: stable
486+
- name: Run sqllogictest
487+
# TODO: Right now several tests are failing in Substrait round-trip mode, so this
488+
# command cannot be run for all the .slt files. Run it for just one that works (limit.slt)
489+
# until most of the tickets in https://github.com/apache/datafusion/issues/16248 are addressed
490+
# and this command can be run without filters.
491+
run: cargo test --test sqllogictests -- --substrait-round-trip limit.slt
492+
479493
# Temporarily commenting out the Windows flow, the reason is enormously slow running build
480494
# Waiting for new Windows 2025 github runner
481495
# Details: https://github.com/apache/datafusion/issues/13726

0 commit comments

Comments
 (0)