agensgraph
agensgraph copied to clipboard
Column does not exist error when change a relation from [] to [*1]
Environment
Agensgraph Version: 2.15.0 Operating System: window 11 Installation Method: Docker API: Docker
Steps to Reproduce
Execute the following query:
MATCH (n2:L4)-[*1]->(n2:L4)-[*1]->(n4) RETURN count(*);
The output is Error:
ERROR: column "n2" does not exist
But when I execute:
MATCH (n2:L4)-[]->(n2:L4)-[]->(n4) RETURN count(*);
I got the query result:
count
-------
0
(1 row)
Issue analysis:
I think this situation is a bug, because in cypher, [*1] should not make a node identifier disappear.
#610 will resolve this issue.