You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "2010YOUY01 (via GitHub)" <gi...@apache.org> on 2025/11/22 04:35:43 UTC
[I] Improve error message in `sqllogictest` with `` marker [datafusion]
2010YOUY01 opened a new issue, #18878:
URL: https://github.com/apache/datafusion/issues/18878
### Is your feature request related to a problem or challenge?
Follow up to https://github.com/apache/datafusion/pull/18857
With `<slt:ignore>` feature, if the actual and expected is not matched, we got error message like
```
2. query result mismatch:
[SQL] select * from generate_series(3);
[Diff] (-expected|+actual)
- <slt:ignore>
+ 0
1
- 3<slt:ignore>
+ 2
3
at /Users/yongting/Code/datafusion/datafusion/sqllogictest/test_files/slt_features.slt:84
```
The first diff is a false positive, and the second one is expected. It would be great to suppress the 1st diff.
Also, the error message rendering and the actual validation for `sqllogictest` seems to live in two different places, it would be better to combine them.
### Describe the solution you'd like
_No response_
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] Improve error message in `sqllogictest` with `` marker [datafusion]
Posted by "2010YOUY01 (via GitHub)" <gi...@apache.org>.
2010YOUY01 commented on issue #18878:
URL: https://github.com/apache/datafusion/issues/18878#issuecomment-3568789392
> just centralize the comparison so we can get rid of those errors
This sounds like a good idea, ideally the error message can be generated from the validator.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] Improve error message in `sqllogictest` with `` marker [datafusion]
Posted by "kumarUjjawal (via GitHub)" <gi...@apache.org>.
kumarUjjawal commented on issue #18878:
URL: https://github.com/apache/datafusion/issues/18878#issuecomment-3568171928
@2010YOUY01 Even though the validator correctly skips the `<slt:ignore>` tags, the runner is still comparing the raw text. That’s why we’re seeing those noisy diffs. We should feed the sanitized version to the error formatter or just centralize the comparison so we can get rid of those errors. If you have any inputs for moving forward, I would like to work on this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] Improve error message in `sqllogictest` with `` marker [datafusion]
Posted by "kumarUjjawal (via GitHub)" <gi...@apache.org>.
kumarUjjawal commented on issue #18878:
URL: https://github.com/apache/datafusion/issues/18878#issuecomment-3578957583
@2010YOUY01 I have opened a PR for this, could you take a look whenever you have the time. Thanks!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [I] Improve error message in `sqllogictest` with `` marker [datafusion]
Posted by "2010YOUY01 (via GitHub)" <gi...@apache.org>.
2010YOUY01 commented on issue #18878:
URL: https://github.com/apache/datafusion/issues/18878#issuecomment-3706651493
Update: after the experiments from @kumarUjjawal in #18908 , we found we have to modify `sqllogictest` upstream for this feature
Here are the original discussion https://github.com/apache/datafusion/pull/18908#issuecomment-3601126183
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org