TropicalPenguin opened a new issue, #369:
URL: https://github.com/apache/age/issues/369

   **Describe the bug**
   Usually, the MERGE operation works. But when a merge operation follows a 
MATCH clause that includes an edge, the server terminates.
   
   **How are you accessing AGE (Command line, driver, etc.)?**
   - Command line
   - Golang driver
   
   **What data setup do we need to do?**
   ```pgsql
   ...
   SELECT create_graph('test');
   SELECT * from cypher('test', $$ CREATE (a {x:1})-[:foo]->(b {x:2}),(c {x:3}) 
$$) as (v0 agtype);
   ...
   ```
   
   **What is the necessary configuration info needed?**
   - N/A
   
   **What is the command that caused the error?**
   ```pgsql
   SELECT * from cypher('test', $$ MATCH ()-[a:foo]->(), (b {x:2}),(c {x:3}) 
MERGE (b)-[d:bar]->(c) RETURN d $$) as (v0 agtype);
   ```
   Error:
   ```
   server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.
   The connection to the server was lost. Attempting reset: Failed.
   ```
   
   **Expected behavior**
   The relationship should be created if it doesn't exist.
   
   **Environment (please complete the following information):**
   - Version: 1.1.0, commit ed44f91cb2607605ec2e225248e9ca46e146c215
   
   **Additional context**
   N/A
   


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