agensgraph icon indicating copy to clipboard operation
agensgraph copied to clipboard

Column does not exist error when change a relation from [] to [*1]

Open stupalpa opened this issue 10 months ago • 1 comments

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.

stupalpa avatar Apr 22 '25 08:04 stupalpa

#610 will resolve this issue.

uhayat avatar Apr 30 '25 00:04 uhayat