Describe the bug (must be provided)
Syntax parsing is not expected.
How To Reproduce(must be provided)
MATCH p=(n:player)-[]->(m:player) WITH p, size((m)-[]->()) as right_out, size((n)<-[]-()) as left_in \
WHERE right_out == 0 AND left_in == 0 RETURN p;
(root@nebula) [basketballplayer]> MATCH p=(n:player)-[]->(m:player) WITH p, size((m)-[]->()) as right_out, size((n)<-[]-()) as left_in \
-> WHERE right_out == 0 AND left_in == 0 RETURN p;
[ERROR (-7)]: SyntaxError: syntax error near `]->()) a'
Thu, 22 Jul 2021 12:16:33 CST
Expected behavior
MATCH p=(n:Person)-[]->(m:Movie) WITH p, size((m)-[]->()) as left_out, size((n)<-[]-()) as left_in
WHERE right_out = 0 AND right_in = 0 RETURN p;
╒══════════════════════════════════════════════════════════════════════╕
│"p" │
╞══════════════════════════════════════════════════════════════════════╡
│[{"louvain":5,"degree":0.0,"name":"Emil Eifrem","born":1978},{"roles":│
│["Emil"]},{"louvain":5,"degree":8.0,"tagline":"Welcome to the Real Wor│
│ld","votes":372,"title":"The Matrix","released":1999}] │
├──────────────────────────────────────────────────────────────────────┤
│[{"louvain":5,"degree":0.0,"name":"Joel Silver","born":1952},{},{"louv│
│ain":5,"degree":8.0,"tagline":"Welcome to the Real World","votes":372,│
│"title":"The Matrix","released":1999}] │
├──────────────────────────────────────────────────────────────────────┤
...
Describe the bug (must be provided) Syntax parsing is not expected.
How To Reproduce(must be provided)
Expected behavior
Additional context
related topic in forum: https://discuss.nebula-graph.com.cn/t/topic/4947