You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by "jrgemignani (via GitHub)" <gi...@apache.org> on 2023/05/05 18:06:37 UTC

[GitHub] [age] jrgemignani commented on issue #897: Complex `MERGE` causes crash

jrgemignani commented on issue #897:
URL: https://github.com/apache/age/issues/897#issuecomment-1536601182

   @DominicWuest This crash is resolved in the master and is due to variable reuse for labels. Currently, multiple labels are not supported. Additionally, we are still working on allowing variable reuse with labels.
   
   > psql-11.5-5432-pgsql=# SELECT * FROM cypher('graph2',$$
   >     MERGE n0 = (:A)-[:B{n1:0}]->(x:C)-[:D]->(x)-[:E]->(x)<-[:F{n2:0}]-(:G{n3:0})-[:H{n4:0}]->(y:I{n5:0})<-[:J]-(y)<-[:K]-(:L{n6:0})
   > $$) as (v agtype);
   > ERROR:  multiple labels for variable 'x' are not supported
   > LINE 2:     MERGE n0 = (:A)-[:B{n1:0}]->(x:C)-[:D]->(x)-[:E]->(x)<-[...
   >                                                     ^
   > psql-11.5-5432-pgsql=#
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@age.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org