graphd report unexpected error Wrong type result, the type should be NULL, EMPTY, BOOL
#5097
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)
Similar to #1574 but that's a fixed issued and we are using the latest master branch.
While executing the following query, graph report an unexpected error:
(root@nebula) [gdlancer]> MATCH p0 = (v0)-[e0]->()<-[e1:Rel_2]-(v1) WHERE (id(v0) in [13, 11, 20, 21, 2, 23, 28, 27, 9, 14, 19]) AND (e0.Rel_0_0_Bool) UNWIND nodes(p0) AS ua0 WITH e0, ua0.Label_0.Label_0_3_Bool AS pa0, ua0, 0.915546 AS pa1 WHERE ua0.Label_0.Label_0_3_Bool RETURN count(*) as totalRows [ERROR (-1005)]: Wrong type result, the type should be NULL, EMPTY, BOOL Mon, 12 Dec 2022 18:52:51 CST (root@nebula) [gdlancer]>
In contrast the same query Neo4j reports no error:
$ MATCH p0 = (v0)-[e0]->()<-[e1:Rel_2]-(v1) WHERE (v0.id in [13, 11, 20, 21, 2, 23, 28, 27, 9, 14, 19]) AND (e0.Rel_0_0_Bool) UNWIND nodes(p0) AS ua0 WITH e0, ua0.Label_0_3_Bool AS pa0, ua0, 0.915546 AS pa1 WHERE ua0.Label_0_3_Bool RETURN count(*) as totalRows ╒═══════════╕ │"totalRows"│ ╞═══════════╡ │1 │ └───────────┘
Your Environments (required)
uname -a
g++ --version
orclang++ --version
lscpu
a3ffc7d8
) 573f7f4 (community edition)How To Reproduce(required)
Steps to reproduce the behavior:
Expected behavior
Additional context
The text was updated successfully, but these errors were encountered: