Skip to content

match statement index selecting bug #3632

Closed
@czpmango

Description

@czpmango

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type/bugType: something is unexpected

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions