Skip to content

Commit 3a10cd2

Browse files
add sqllogictest to ci
1 parent d4337b7 commit 3a10cd2

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,15 @@ jobs:
4040
- uses: ./.github/actions/setup
4141
- run: cargo test --features tpch --test tpch_validation_test
4242

43+
sqllogictest:
44+
runs-on: ubuntu-latest
45+
steps:
46+
- uses: actions/checkout@v4
47+
with:
48+
lfs: true
49+
- uses: ./.github/actions/setup
50+
- run: tests/sqllogictest.sh
51+
4352
format-check:
4453
runs-on: ubuntu-latest
4554
steps:

tests/sqllogictest.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
# SQLLogicTest runner script for DataFusion Distributed
4+
# This script runs the sqllogictest CLI against our test files to verify
5+
# that distributed query execution produces expected results.
6+
7+
set -e # Exit on any error
8+
9+
# Test basic queries (aggregations, filtering, etc.)
10+
cargo run --features integration --bin logictest -- tests/sqllogictest/basic_queries.slt --nodes 3
11+
12+
# Test EXPLAIN queries (distributed physical plans)
13+
cargo run --features integration --bin logictest -- tests/sqllogictest/explain.slt --nodes 3

0 commit comments

Comments
 (0)