-
Notifications
You must be signed in to change notification settings - Fork 467
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
The MERGE command doesn't see a valid case of variable reuse for a vertex.
How are you accessing AGE (Command line, driver, etc.)?
psql command line
What data setup do we need to do?
Setup shouldn't matter. However, this was done on an empty graph database.
What is the necessary configuration info needed?
AGE
What is the command that caused the error?
The following command fails, but the second 'x' should be seen as a valid reuse of 'x'. This command works successfully on Neo4j.
psql-11.5-5432-pgsql=# SELECT * FROM cypher('test', $$ MERGE (x:C)-[:A]->(x) RETURN x $$) as (r agtype);
ERROR: multiple labels for variable 'x' are not supported
LINE 1: ...ELECT * FROM cypher('test', $$ MERGE (x:C)-[:A]->(x) RETURN ...
^
psql-11.5-5432-pgsql=#
Expected behavior
It should create a vertex with a self loop.
Environment (please complete the following information):
current master branch
Additional context
None.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done