MuhammadTahaNaveed commented on issue #1996: URL: https://github.com/apache/age/issues/1996#issuecomment-2307498397
@jccampagne PR #2075 has been merged to address this issue. You can test it by pulling the latest dev docker image `dev_snapshot_master` or by building master branch. ``` issue1996=# SELECT * FROM cypher('issue1996', $$ CREATE (a:NODE {key1: "prop1", key2:"prop2"}) $$) as (a agtype); a --- (0 rows) issue1996=# SELECT * FROM cypher('issue1996', $$ MATCH (a) return a$$) as (a json); a -------------------------------------------------------------------------------------------- {"id": 844424930131969, "label": "NODE", "properties": {"key1": "prop1", "key2": "prop2"}} (1 row) issue1996=# SELECT cast(a as json) FROM cypher('issue1996', $$ MATCH (a) return a$$) as (a agtype); a -------------------------------------------------------------------------------------------- {"id": 844424930131969, "label": "NODE", "properties": {"key1": "prop1", "key2": "prop2"}} (1 row) issue1996=# SELECT pg_typeof(a) FROM cypher('issue1996', $$ MATCH (a) return a$$) as (a json); pg_typeof ----------- json (1 row) ``` -- 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