jrgemignani commented on issue #1709: URL: https://github.com/apache/age/issues/1709#issuecomment-2038182979
@mingfang I found the issue and corrected it. Although, I need to review that it is correct and there aren't other areas that may have a similar issue. Here is a sample output **that also highlights something interesting**. I'm curious of your thoughts - ``` psql-16.1-5432-pgsql=# SELECT * FROM cypher('playground', $$ MATCH (v) RETURN v $$) AS (v agtype); v --- (0 rows) psql-16.1-5432-pgsql=# SELECT * FROM cypher('playground', $$ UNWIND [{first: 'jon', last: 'snow'}, {first: 'ned', last: 'stark'}, {first: 'jane', last: 'doe'}, {first: 'ned', last: 'flanders'}] AS map MERGE (v:PERSON {first: map.first}) SET v=map RETURN v $$) AS (v agtype); v -------------------------------------------------------------------------------------------------------- {"id": 844424930132054, "label": "PERSON", "properties": {"last": "snow", "first": "jon"}}::vertex {"id": 844424930132055, "label": "PERSON", "properties": {"last": "stark", "first": "ned"}}::vertex {"id": 844424930132056, "label": "PERSON", "properties": {"last": "doe", "first": "jane"}}::vertex {"id": 844424930132055, "label": "PERSON", "properties": {"last": "flanders", "first": "ned"}}::vertex (4 rows) psql-16.1-5432-pgsql=# SELECT * FROM cypher('playground', $$ MATCH (v) RETURN v $$) AS (v agtype); v -------------------------------------------------------------------------------------------------------- {"id": 844424930132054, "label": "PERSON", "properties": {"last": "snow", "first": "jon"}}::vertex {"id": 844424930132056, "label": "PERSON", "properties": {"last": "doe", "first": "jane"}}::vertex {"id": 844424930132055, "label": "PERSON", "properties": {"last": "flanders", "first": "ned"}}::vertex (3 rows) psql-16.1-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-unsubscr...@age.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org