-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
We have a great integration test from @jimexist 🦾 https://github.com/apache/arrow-datafusion/tree/master/integration-tests which runs a limited number of queries against data in both postgres and datafusion and compares the results
The major downside is that it does not get updated with new coverage very often. I believe this is due to two factors:
- It is not run with
cargo test - It requires additional system setup above and beyond for developing DataFusion (postgres, python, datafusion-python, etc)
Describe the solution you'd like
I would like to port all the existing coverage in integration-test to the sqllogictest framework aded in #4395 and remove the python based version
In order to run the same tests against postgres, we could reuse some of the code from sqllogictest-bin to implement a postgres driver: https://github.com/risinglightdb/sqllogictest-rs/blob/main/sqllogictest-bin/src/engines/postgres.rs
I think we would likely have to add some sort of annotation to the tests like
# compare_to(postgres)
And then not run tests annotated like that by default
Describe alternatives you've considered
Keep the existing
Additional context
Add any other context or screenshots about the feature request here.