-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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] Run full sqllogic / sqlite test suite against DataFusion #13811
Comments
A quick grep and cleaning of DF errors that resulted in a query being marked as 'skipif Datafusion':
|
Those Done:
|
Thank you @2010YOUY01 |
Ticket filed for RecursionLimitExceeded: #13811 |
I regenerated the sqlite slt files (apache/datafusion-testing#4) to switch REAL -> FLOAT8 and change how DF errors are handled. Instead of skipif Datafusion they are now query error/statement error with the expected results move into the comments. This should mean that any changes in DF that either break/change/fix the sqlite tests will show immediately. After the above PR is approved I believe the only blocker left is #13784 but I am not 100% certain on that. |
Issue for avg(distinct) support - #2408 This I believe would be a useful addition if someone is able to take it on. |
Many of the cast to Int issues are caused by the fact that in sqlite int is a flexible width data type - 0, 1, 2, 3, 4, 6, or 8 bytes depending on the magnitude of the value. |
Is your feature request related to a problem or challenge?
As DataFusion matures and becomes the foundation for more and more systems, ensuring it works bug free with many SQL queries is even more important. We have our own substantial test suites, but we still find issues from time to time, and more systematic testing would be even better
This ticket attempts to
Describe the solution you'd like
As described on #13470, there is a well known, very large corpus of sql test files originally from sqlite in sqllogictest format. It is common for other sql engines to run these scripts
The main description page is: https://sqlite.org/sqllogictest/file?name=about.wiki&ci=tip
@Omega359 has undertaken a substantial effort to create a DataFusion test runner to run these tests
I believe the code is here
Describe alternatives you've considered
Infrastructure Tasks
Fix bugs discovered by the initial testing
Additional context
No response
The text was updated successfully, but these errors were encountered: