-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Epic] Data Driven Tests #4460
Comments
I'll add more TODOs tomorrow. |
@xudong963 I think a fun project might be to figure out how to support a minimal implementation of INSERT to insert data. Maybe by implementing something entirely in the sqllogictest harness using ArrayBuilders 🤔 It doesn't have to handle errors well initially or be performant. I wonder if something crazy like forming a single row record batch from the input, and then |
@alamb Today I have a more crazy idea: we can use Postgres to run To implement the idea, we can register two DBs for sqllogictest runner, PG and DF. For pg: we can register Postgres client in our logictest by use Here is a draft PR to verify if my idea is feasible in sqllogictest-rs: xudong963/sqllogictest-rs#1 |
🤔 I wonder @xudong963 how will inserting data into postgres allow us to insert data into DataFusion 🤔 |
Also, heads up I have some ideas on how to improve the sqllogic framework #4492 (comment) |
Seems it's impossible, my mistake. |
Make sense to me. But let me think more and find out if there are some other ways. |
Update: check out the insert proposal from @xudong963 here #4496 🥳 🦜 |
@xudong963 / @alamb - could we also add #4502 |
Done @liurenjie1024 -- thank you |
I think I am going to claim this epic is substantially done so I am closing it out (we have pretty good data driven testing now) The rest of the stragglers I think are tracked in their own tickets without issue |
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
As described in #4248 and implemented in #4395 we now have a sqlogictest based test framework in DataFusion 🎉
This ticket tracks the various follow on work we would like to do
Describe the solution you'd like
Basically we would like to follow the DuckDB variant of sqllogictest as much as possible: https://duckdb.org/dev/sqllogictest/intro
The current rules for verification can be found in: https://duckdb.org/dev/sqllogictest/result_verification
Items
INSERT INTO
statement #4397sql_integration
that were ported tosqllogictest
#4498rust
tosqllogictest
#6195Clap
for sqllogictest #4769integration-tests
directory #5011Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
cc @mvanschellebeeck @xudong963
The text was updated successfully, but these errors were encountered: