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

match statement index selecting bug #3632

Closed
czpmango opened this issue Jan 5, 2022 · 0 comments · Fixed by #3694
Closed

match statement index selecting bug #3632

czpmango opened this issue Jan 5, 2022 · 0 comments · Fixed by #3694
Assignees
Labels
type/bug Type: something is unexpected
Milestone

Comments

@czpmango
Copy link
Contributor

czpmango commented Jan 5, 2022

Steps to reproduce the behavior:

(root@nebula) [nba]> match (p:player)  where p.playesfdr.name == "Tim Duncan" or p.jksjf.age > 41 return p
+-------------------------------------------------------------------------------------------------------------+
| p                                                                                                           |
+-------------------------------------------------------------------------------------------------------------+
| ("Grant Hill" :player{age: 46, name: "Grant Hill"})                                                         |
| ("Vince Carter" :player{age: 42, name: "Vince Carter"})                                                     |
| ("Jason Kidd" :player{age: 45, name: "Jason Kidd"})                                                         |
| ("Tim Duncan" :bachelor{name: "Tim Duncan", speciality: "psychology"} :player{age: 42, name: "Tim Duncan"}) |
| ("Shaquile O'Neal" :player{age: 47, name: "Shaquile O'Neal"})                                               |
| ("Steve Nash" :player{age: 45, name: "Steve Nash"})                                                         |
| ("Ray Allen" :player{age: 43, name: "Ray Allen"})                                                           |
+-------------------------------------------------------------------------------------------------------------+
Got 7 rows (time spent 3177/3721 us)

Expected behavior
Guarantee basic correct results.

Additional context
More complex scenarios need to be reconsidered, such as multiple matches and variable alias conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Type: something is unexpected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants