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

the value when specifying empty==other values is null instead of false #5488

Closed
abby-cyber opened this issue Apr 11, 2023 · 1 comment
Closed
Assignees
Labels
affects/none PR/issue: this bug affects none version. process/fixed Process of bug severity/none Severity of bug type/bug Type: something is unexpected

Comments

@abby-cyber
Copy link
Contributor

abby-cyber commented Apr 11, 2023

related pr #5433

image

(root@nebula) [basketballplayer]> match (v:player) where v.player.age==30 return v.player.age
+--------------+
| v.player.age |
+--------------+
| 30           |
| 30           |
| 30           |
| 30           |
+--------------+
Got 4 rows (time spent 5746/6389 us)

Tue, 11 Apr 2023 18:08:25 CST

(root@nebula) [basketballplayer]> match (v:player) where v.player.age==30 return v.player.age==v.player.like
+-------------------------------+
| (v.player.age==v.player.like) |
+-------------------------------+
| __NULL__                      |
| __NULL__                      |
| __NULL__                      |
| __NULL__                      |
+-------------------------------+
Got 4 rows (time spent 3920/4480 us)
@abby-cyber abby-cyber added the type/bug Type: something is unexpected label Apr 11, 2023
@github-actions github-actions bot added affects/none PR/issue: this bug affects none version. severity/none Severity of bug labels Apr 11, 2023
@xtcyclist
Copy link
Contributor

v.player.like is NULL, not EMPTY. No bug here. It is known that behaviours around EMPTY are not well-implemented, and we are not going to fix it in 3.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/none PR/issue: this bug affects none version. process/fixed Process of bug severity/none Severity of bug type/bug Type: something is unexpected
Projects
None yet
Development

No branches or pull requests

2 participants