MuhammadTahaNaveed commented on issue #1461: URL: https://github.com/apache/age/issues/1461#issuecomment-1898860382
Hi guys, I have a question on this issue. For list as property, I was able to cross check the output using neo4j. But neo4j doesnt allow map as a property in an entity, so I wasn't able to check the expected behavior for that scenario. So I wanted to know what should we do in this case. The scenario is explained in the example below. ``` CREATE (x:Customer { name: 'Bob', school: { name: 'XYZ College', program: { major: 'Psyc', degree: 'BSc' } } }) ``` Currently it does not perform equality check on the value if it is a map, rather performs a containment check. ``` issue_1461=# SELECT * FROM cypher('issue_1461', $$MATCH (x:Customer { school: { name: 'XYZ College' } }) return x$$) as (a agtype); a ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- {"id": 844424930131969, "label": "Customer", "properties": {"name": "Bob", "school": {"name": "XYZ College", "program": {"major": "Psyc", "degree": "BSc"}}}}::vertex (1 row) ``` Should it be what it is currently? or like lists, it should do an equality check on property.school i.e `property.school = {"name": "XYZ College", "program": {"major": "Psyc", "degree": "BSc"}}` -- 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