Skip to content

Commit 8fbf77d

Browse files
committed
Merge commit '41e7aed3a943134c40d1b18cb9d424b358b5e5b1'
2 parents c8c9f34 + 41e7aed commit 8fbf77d

File tree

97 files changed

+4255
-2234
lines changed

Some content is hidden

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

97 files changed

+4255
-2234
lines changed

.asf.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ notifications:
2424
2525
2626
pullrequests: [email protected]
27+
discussions: [email protected]
2728
jira_options: link label worklog
2829
github:
2930
description: "Apache DataFusion SQL Query Engine"
@@ -44,6 +45,7 @@ github:
4445
rebase: false
4546
features:
4647
issues: true
48+
discussions: true
4749
protected_branches:
4850
main:
4951
required_pull_request_reviews:

.github/workflows/rust.yml

Lines changed: 36 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,8 @@ jobs:
131131
rust-version: stable
132132
- name: Check datafusion-proto (no-default-features)
133133
run: cargo check --profile ci --all-targets --no-default-features -p datafusion-proto
134-
# fails due to https://github.com/apache/datafusion/issues/15157
135-
#- name: Check datafusion-proto (json)
136-
# run: cargo check --profile ci --all-targets --no-default-features -p datafusion-proto --features=json
134+
- name: Check datafusion-proto (json)
135+
run: cargo check --profile ci --all-targets --no-default-features -p datafusion-proto --features=json
137136
- name: Check datafusion-proto (parquet)
138137
run: cargo check --profile ci --all-targets --no-default-features -p datafusion-proto --features=parquet
139138
- name: Check datafusion-proto (avro)
@@ -219,7 +218,7 @@ jobs:
219218
- name: Check datafusion-functions (string_expressions)
220219
run: cargo check --profile ci --all-targets --no-default-features --features=string_expressions -p datafusion-functions
221220

222-
# Run tests
221+
# Library and integration tests
223222
linux-test:
224223
name: cargo test (amd64)
225224
needs: linux-build-lib
@@ -233,6 +232,36 @@ jobs:
233232
run: rustup toolchain install stable
234233
- name: Install Protobuf Compiler
235234
run: sudo apt-get install -y protobuf-compiler
235+
- name: Run tests (excluding doctests and datafusion-cli)
236+
env:
237+
RUST_BACKTRACE: 1
238+
run: |
239+
cargo test \
240+
--profile ci \
241+
--exclude datafusion-examples \
242+
--exclude ffi_example_table_provider \
243+
--exclude datafusion-benchmarks \
244+
--exclude datafusion-cli \
245+
--workspace \
246+
--lib \
247+
--tests \
248+
--bins \
249+
--features serde,avro,json,backtrace,integration-tests
250+
- name: Verify Working Directory Clean
251+
run: git diff --exit-code
252+
253+
# datafusion-cli tests
254+
linux-test-datafusion-cli:
255+
name: cargo test datafusion-cli (amd64)
256+
needs: linux-build-lib
257+
runs-on: ubuntu-latest
258+
steps:
259+
- uses: actions/checkout@v4
260+
with:
261+
submodules: true
262+
fetch-depth: 1
263+
- name: Setup Rust toolchain
264+
run: rustup toolchain install stable
236265
- name: Setup Minio - S3-compatible storage
237266
run: |
238267
docker run -d --name minio-container \
@@ -253,13 +282,14 @@ jobs:
253282
AWS_SECRET_ACCESS_KEY: TEST-DataFusionPassword
254283
TEST_STORAGE_INTEGRATION: 1
255284
AWS_ALLOW_HTTP: true
256-
run: cargo test --profile ci --exclude datafusion-examples --exclude ffi_example_table_provider --exclude datafusion-benchmarks --workspace --lib --tests --bins --features avro,json,backtrace,integration-tests
285+
run: cargo test --profile ci -p datafusion-cli --lib --tests --bins
257286
- name: Verify Working Directory Clean
258287
run: git diff --exit-code
259288
- name: Minio Output
260289
if: ${{ !cancelled() }}
261290
run: docker logs minio-container
262291

292+
263293
linux-test-example:
264294
name: cargo examples (amd64)
265295
needs: linux-build-lib
@@ -461,7 +491,7 @@ jobs:
461491
uses: ./.github/actions/setup-macos-aarch64-builder
462492
- name: Run tests (excluding doctests)
463493
shell: bash
464-
run: cargo test --profile ci --lib --tests --bins --features avro,json,backtrace,integration-tests
494+
run: cargo test --profile ci --exclude datafusion-cli --workspace --lib --tests --bins --features avro,json,backtrace,integration-tests
465495

466496
test-datafusion-pyarrow:
467497
name: cargo test pyarrow (amd64)

0 commit comments

Comments
 (0)