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
Unexpected result when using string comparison AND
IS NULL
#15395
Comments
Also exists in |
Thanks a lot for reporting, @suyZhong!
|
The fix causes issues with outer joins and it's being reverted with: #15468 |
Thank you for handling the revert @matriv. For the outer join scenario, the arg to |
We should not optimize/normalize the |
Fixed by #15487. |
CrateDB version
CrateDB 5.6.0-SNAPSHOT built f6f4067
CrateDB setup information
Manual build following the instructions here: https://github.com/crate/crate/blob/master/devs/docs/basics.rst
Problem description
Consider the test cases below. It is unexpected that the third query returns empty result, since the second query returns
TRUE
, which means that theWHERE
clause in the third query should be evaluated toTRUE
and thus return the row in the table.Steps to Reproduce
Actual Result
Empty
Expected Result
'a'
The text was updated successfully, but these errors were encountered: