Incorrect match query result #5063
Labels
affects/master
PR/issue: this bug affects master version.
auto-sync
find/automation
process/done
Process of bug
severity/major
Severity of bug
type/bug
Type: something is unexpected
Milestone
Please check the FAQ documentation before raising an issue
Describe the bug (required)
The following query return an error and @Shylock-Hg told me that this is beacause variables are no supported in match predicate:
but when I append an or expression, it did executed and return empty result:
while neo4j(same schema and dataset) return 3 vertexes as expected:
$ with [1, 2, 3] as coll unwind coll as vid match(v) where v.id = vid or v.id = 0 return v ╒══════════════════════════════════════════════════════════════════════╕ │"v" │ ╞══════════════════════════════════════════════════════════════════════╡ │{"labelProp_5_1":0.845833,"labelProp_3_3":true,"labelProp_4_2":2,"labe│ │lProp_5_0":0.026265,"labelProp_3_2":"Tracy McGrady","labelProp_4_1":12│ │6,"labelProp_3_1":"Tiago Splitter","labelProp_4_0":false,"labelProp_3_│ │0":97,"labelProp_2_1":false,"labelProp_2_0":"LaMarcus Aldridge","label│ │Prop_1_0":191,"id":1,"labelProp_7_3":true,"labelProp_7_2":0.592624,"la│ │belProp_7_1":"Dejounte Murray","labelProp_5_3":false,"labelProp_7_0":0│ │.247467,"labelProp_5_2":0.249693} │ ├──────────────────────────────────────────────────────────────────────┤ │{"labelProp_4_2":132,"labelProp_4_1":12,"labelProp_4_0":true,"labelPro│ │p_2_1":false,"labelProp_2_0":"Kyrie Irving","labelProp_1_0":184,"id":2│ │,"labelProp_7_3":false,"labelProp_7_2":0.589383,"labelProp_7_1":"Kyrie│ │ Irving","labelProp_7_0":0.025194} │ ├──────────────────────────────────────────────────────────────────────┤ │{"labelProp_6_0":false,"labelProp_5_1":0.190033,"labelProp_5_0":0.1304│ │14,"labelProp_1_0":90,"labelProp_0_0":true,"id":3,"labelProp_7_3":fals│ │e,"labelProp_6_3":23,"labelProp_7_2":0.159651,"labelProp_6_2":"LaMarcu│ │s Aldridge","labelProp_7_1":"Kobe Bryant","labelProp_5_3":true,"labelP│ │rop_6_1":"Joel Embiid","labelProp_5_2":0.739826,"labelProp_7_0":0.0761│ │9} │ └──────────────────────────────────────────────────────────────────────┘
Your Environments (required)
uname -a
g++ --version
orclang++ --version
lscpu
a3ffc7d8
) https://github.com/vesoft-inc/nebula-ent/commit/318f10db086c4e26c5e38839c97eea1aff279c9fHow To Reproduce(required)
Steps to reproduce the behavior:
Expected behavior
Additional context
The text was updated successfully, but these errors were encountered: