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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to