Skip to content

Commit 40d44b2

Browse files
committed
chore: Update readme
1 parent eb49295 commit 40d44b2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

datafusion/sqllogictest/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,14 @@ export RUST_MIN_STACK=30485760;
243243
PG_COMPAT=true INCLUDE_SQLITE=true cargo test --features=postgres --test sqllogictests
244244
```
245245

246+
To update the sqllite expected answers use the `datafusion/sqllogictest/regenerate_sqlite_files.sh` script.
247+
248+
Note this must be run with an empty posgres instance. For example
249+
250+
```shell
251+
PG_URI=postgresql://postgres@localhost:5432/postgres bash datafusion/sqllogictest/regenerate_sqlite_files.sh
252+
```
253+
246254
## Updating tests: Completion Mode
247255

248256
In test script completion mode, `sqllogictests` reads a prototype script and runs the statements and queries against the

0 commit comments

Comments
 (0)