Skip to content
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

CASE on NULL value #3097

Closed
Tracked by #3666
acquamarin opened this issue Mar 20, 2024 · 0 comments · Fixed by #3810
Closed
Tracked by #3666

CASE on NULL value #3097

acquamarin opened this issue Mar 20, 2024 · 0 comments · Fixed by #3810
Assignees
Labels
bug Something isn't working

Comments

@acquamarin
Copy link
Collaborator

This query returns incorrect result:

kuzu> RETURN CASE NULL  WHEN NULL THEN "Null value" ELSE "Not null value" END;
-----------------------------------------------------------
| CASE WHEN EQUALS(,) THEN Null value ELSE Not null value |
-----------------------------------------------------------
| Not null value                                          |
-----------------------------------------------------------
(1 tuple)
(1 column)
Time: 0.24ms (compiling), 0.29ms (executing)

The above query should return "null value" since null is null.

@acquamarin acquamarin added the bug Something isn't working label Mar 20, 2024
This was referenced Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants