This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new 2458693851 Minor: fix CI to make the sqllogic testing result
consistent (#15059)
2458693851 is described below
commit 24586938518d747c16dd0702454fb334ab426a85
Author: Qi Zhu <[email protected]>
AuthorDate: Fri Mar 7 23:08:42 2025 +0800
Minor: fix CI to make the sqllogic testing result consistent (#15059)
---
.github/workflows/rust.yml | 4 ++--
datafusion/sqllogictest/Cargo.toml | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml
index 99aaa7d6f2..f37e5c9f7e 100644
--- a/.github/workflows/rust.yml
+++ b/.github/workflows/rust.yml
@@ -295,7 +295,7 @@ jobs:
export RUST_MIN_STACK=20971520
export TPCH_DATA=`realpath
datafusion/sqllogictest/test_files/tpch/data`
cargo test plan_q --package datafusion-benchmarks --profile ci
--features=ci -- --test-threads=1
- INCLUDE_TPCH=true cargo test --profile ci --package
datafusion-sqllogictest --test sqllogictests
+ INCLUDE_TPCH=true cargo test --features backtrace --profile ci
--package datafusion-sqllogictest --test sqllogictests
- name: Verify Working Directory Clean
run: git diff --exit-code
@@ -331,7 +331,7 @@ jobs:
- name: Run sqllogictest
run: |
cd datafusion/sqllogictest
- PG_COMPAT=true
PG_URI="postgresql://postgres:postgres@$POSTGRES_HOST:$POSTGRES_PORT/db_test"
cargo test --profile ci --features=postgres --test sqllogictests
+ PG_COMPAT=true
PG_URI="postgresql://postgres:postgres@$POSTGRES_HOST:$POSTGRES_PORT/db_test"
cargo test --features backtrace --profile ci --features=postgres --test
sqllogictests
env:
# use postgres for the host here because we have specified a
container for the job
POSTGRES_HOST: postgres
diff --git a/datafusion/sqllogictest/Cargo.toml
b/datafusion/sqllogictest/Cargo.toml
index 22223d23e1..33abe77032 100644
--- a/datafusion/sqllogictest/Cargo.toml
+++ b/datafusion/sqllogictest/Cargo.toml
@@ -66,6 +66,7 @@ tokio-postgres = { version = "0.7.12", optional = true }
[features]
avro = ["datafusion/avro"]
+backtrace = ["datafusion/backtrace"]
postgres = [
"bytes",
"chrono",
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]