You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@age.apache.org by GitBox <gi...@apache.org> on 2022/11/30 02:10:25 UTC

[GitHub] [age] jrgemignani commented on issue #369: Crash on Edge MERGE after Edge MATCH

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

   Just curious, why are you matching something that is extraneous - **()-[a:foo]->()** to the merge? Because, if you remove that part, the match works correctly.
   
   ```
   psql-11.5-5432-pgsql=# SELECT * from cypher('test', $$ MATCH (b {x:2}),(c {x:3}) MERGE (b)-[d:bar]->(c) RETURN d $$) as (v0 agtype);
                                                               v0
   --------------------------------------------------------------------------------------------------------------------------
    {"id": 9570149208162305, "label": "bar", "end_id": 281474976710659, "start_id": 281474976710658, "properties": {}}::edge
   (1 row)
   
   psql-11.5-5432-pgsql=#
   ```
   
   That aside, there appears to be an edge case that was overlooked with the combination of the two. That needs to be addressed and resolved.


-- 
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