mingfang opened a new issue, #1634: URL: https://github.com/apache/age/issues/1634
Setting all properties using map object does not work. But works with map literal and individual map keys. ```cypher -- ERROR: properties() argument must resolve to a scalar value SELECT * FROM cypher('playground', $$ WITH {first: 'jon', last: 'snow'} AS map MERGE (v:PERSION {id: '1'}) SET v=map RETURN v,map $$) as (v agtype, map agtype); ``` ```cypher -- works with map keys SELECT * FROM cypher('playground', $$ WITH {first: 'jon', last: 'snow'} AS map MERGE (v:PERSION {id: '1'}) SET v.first=map.first, v.last=map.last RETURN v,map $$) as (v agtype, map agtype); -- works with map literal SELECT * FROM cypher('playground', $$ MERGE (v:PERSION {id: '1'}) SET v={first: 'jon', last: 'snow'} RETURN v $$) as (v agtype); ``` -- 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.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org