ManuelePasini opened a new issue, #2126:
URL: https://github.com/apache/age/issues/2126

   I've been giving some effort into integrating Apache AGE with PostGIS. I've 
come to the point where the following query works:
   
   SELECT * FROM cypher('some_graph', $$
                   CREATE (n:Device {id: 'some_id',
                                type: 'Device',
                                location: st_geomfromgeojson('{"type": "Point", 
"coordinates": [11.798998, 44.235024]}'),
                   RETURN n
                   $$) AS (n agtype); 
   
   However, when I try to update such location via
   
   SELECT * FROM cypher('some_graph', $$
                   MATCH (n:Device {id: 'some_id})
                   SET n.location = st_geomfromgeojson('{"type": "Point", 
"coordinates": [11.456556, 44.234324]}')
                   RETURN n
                   $$) AS (n agtype);
   
   I get the error: 
   
   ERROR:  agtype_volatile_wrapper: unsupported arg type 
   SQL state: 22023


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

Reply via email to