diff --git a/datafusion/sqllogictest/README.md b/datafusion/sqllogictest/README.md index 0325ce9b05d8..124735c89d87 100644 --- a/datafusion/sqllogictest/README.md +++ b/datafusion/sqllogictest/README.md @@ -28,7 +28,7 @@ This crate is a submodule of DataFusion that contains an implementation of [sqll ## Overview This crate uses [sqllogictest-rs](https://github.com/risinglightdb/sqllogictest-rs) to parse and run `.slt` files in the -[`test_files`](test_files) directory of this crate or the [`data/sqlite`](sqlite) +[`test_files`](test_files) directory of this crate or the [`data/sqlite`](sqlite) directory of the datafusion-testing crate. ## Testing setup @@ -218,14 +218,14 @@ INCLUDE_TPCH=true cargo test --test sqllogictests ## Running Tests: `sqlite` Test files in `data/sqlite` directory of the datafusion-testing crate were -sourced from the sqlite test suite and have been cleansed and updated to +sourced from the sqlite test suite and have been cleansed and updated to run within DataFusion's sqllogictest runner. -To run the sqlite tests you need to increase the rust stack size and add +To run the sqlite tests you need to increase the rust stack size and add `INCLUDE_SQLITE=true` to run the sqlite tests: ```shell -export RUST_MIN_STACK=30485760; +export RUST_MIN_STACK=30485760; INCLUDE_SQLITE=true cargo test --test sqllogictests ``` @@ -239,7 +239,7 @@ INCLUDE_SQLITE=true cargo test --profile release-nonlto --test sqllogictests The sqlite tests can also be run with the postgres runner to verify compatibility: ```shell -export RUST_MIN_STACK=30485760; +export RUST_MIN_STACK=30485760; PG_COMPAT=true INCLUDE_SQLITE=true cargo test --features=postgres --test sqllogictests ```