-
Notifications
You must be signed in to change notification settings - Fork 50
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
enhancement: better diff for result mismatch #176
Comments
Maybe we can:
|
I'm curious what's the use case for validators? 👀 |
As indicated by its signature, the actual result is separated by columns See also #109 sqllogictest-rs/sqllogictest/src/runner.rs Lines 411 to 426 in 27eb9f5
|
I think we can parse both space and tab as separator in parser? |
Okay well this is not handled by parser. Then it might be a good idea to split by both space and tab in default validator :( |
We use space as separator for
actual
, butexpected
might use tab. This can look bad.This can be tricky since we support custom
validator
.sqllogictest-rs/sqllogictest/src/runner.rs
Lines 749 to 759 in 27eb9f5
Here's an example from @BugenZhao
risingwavelabs/risingwave#9671 (comment)
The text was updated successfully, but these errors were encountered: