vesoft-inc / nebula-graph

A distributed, fast open-source graph database featuring horizontal scalability and high availability. This is an archived repo for v2.5 only, from 2.6.0 +, NebulaGraph switched back to https://github.com/vesoft-inc/nebula

Home Page:https://nebula-graph.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

match (v1) --> (v2) <-- (v3) where id(v1)=='Dwyane Wade' and v1==v3 return v3 returned empty set

FangJinhe opened this issue · comments

nebula version: 2.0.1

Provided simulation data of "nba", when query in nebula:

match (v1) --> (v2) <-- (v3) where id(v1)=='Dwyane Wade' and v1==v3 return v3

the result is empty set:

Empty set (time spent 2158/2655 us)

when query in neo4j, the result returns the node of "Dwyane Wade":

match (v1) --> (v2) <-- (v3) where v1.name="Dwyane Wade" and v1=v3 return v3

╒══════════════════════════════════════════════════════╕
 │"v3"                                                                                                                                       │
╞══════════════════════════════════════════════════════╡
 │{"name":"Dwyane Wade","age":37,"player":"Dwyane Wade"}                                        │
├──────────────────────────────────────┤
 │{"name":"Dwyane Wade","age":37,"player":"Dwyane Wade"}                                        │
└─────────────────────────────────────┘

Had fixed in later version.