-
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
Implement column number / column type verification for sqllogictest #4499
Comments
related issue: risinglightdb/sqllogictest-rs#36 |
Hey, guys! DuckDB suggests using 'I' just to verify the number of columns. I think having more than one type is useful. For example, in order to verify that However, having a boolean type would've allowed writing a more concise test which would run for both Datafusion and Postgres
Do you have preferences regarding the set of types?
In order to use I thought it would be more flexible to have a pluggable type and a validation strategy, so I opened a pr in |
I agree As long as the |
Hi. I opened a pr to define the sqllogictest output types and check them #5253. The |
https://duckdb.org/dev/sqllogictest/result_verification
At the moment, the datafusion sqllogictest framework entirely ignores the number of
I
after thequery
commandThe goal of this ticket is to update the framework (and tests) to error if the number of
I
s doesn't match the number of columnsThe text was updated successfully, but these errors were encountered: