Omega359 commented on code in PR #14881:
URL: https://github.com/apache/datafusion/pull/14881#discussion_r1970798347


##########
datafusion/sqllogictest/README.md:
##########
@@ -243,6 +243,14 @@ export RUST_MIN_STACK=30485760;
 PG_COMPAT=true INCLUDE_SQLITE=true cargo test --features=postgres --test 
sqllogictests
 ```
 
+To update the sqllite expected answers use the 
`datafusion/sqllogictest/regenerate_sqlite_files.sh` script.
+
+Note this must be run with an empty postgres instance. For example
+
+```shell
+PG_URI=postgresql://postgres@localhost:5432/postgres bash 
datafusion/sqllogictest/regenerate_sqlite_files.sh
+```

Review Comment:
   I just run postgres in docker:
   ```sh
   docker run --name df_postgres -e POSTGRES_USER=test -e 
POSTGRES_PASSWORD=test -e POSTGRES_DB=test -d -p 5432:5432 postgres:latest
   export PG_URI=postgres://test:test@host.docker.internal:5432/test
   ./datafusion/sqllogictest/regenerate_sqlite_files.sh
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to