YGY-001 opened a new issue, #2552:
URL: https://github.com/apache/age/issues/2552

    
   ### Environment
   
   - Apache AGE 1.8.0
   - PostgreSQL 18.6
   - Docker image: apache/age:release_PG18_1.8.0
   
   ### Reproduction
   
   Execute the following Cypher through the standard AGE
   `ag_catalog.cypher('graph_name', $$...$$)` interface:
   
   ```cypher
   UNWIND [1, 2] AS x
   CREATE (a)-[r:R]->(b)
   WITH startNode(r) AS s
   RETURN s
   Expected
   The query returns two start vertices.
   Actual
   ERROR: graphid 281474976710659 does not exist
   The graphid is generated internally and is not present in the Cypher input.
   Controls
   The one-row form succeeds:
   UNWIND [1] AS x
   CREATE (a)-[r:R]->(b)
   WITH startNode(r) AS s
   RETURN s
   Directly returning the created entities for two rows also succeeds:
   UNWIND [1, 2] AS x
   CREATE (a)-[r:R]->(b)
   RETURN a, b, r


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