avowkind commented on issue #1627:
URL: https://github.com/apache/age/issues/1627#issuecomment-1963084753

   Perhaps not due to the size of the request:
   
   This also fails:
   ```SQL
   LOAD 'age';
   SET search_path = ag_catalog, "$user", public;
   
   
   
   SELECT * from cypher('fishpond', $$ 
   MATCH (water_temperature_celsius:PropertyType {id: 
'water_temperature_celsius'}),
   (comment:PropertyType {id: 'comment'})
   MATCH (pfr_feature_tank_A1:Feature {id: 'pfr:nelson:tank:A01'}),
   (pfr_feature_tank_A2:Feature {id: 'pfr:nelson:tank:A02'})
   CREATE (o1:Observation 
{id:"1",phenomenonTime:"2020-01-01T00:00:00Z",resultTime:"2020-01-01T00:00:00Z",result:20,parameters:{parameter1:"value1",parameter2:"value2"},resultQuality:"good",featureOfInterest:"pfr:nelson:tank:A01",observedProperty:"water_temperature_celsius"}),
   (o2:Observation 
{id:"2",phenomenonTime:"2020-01-01T00:00:00Z",resultTime:"2020-01-01T00:00:00Z",result:"taken
 by 
hand",parameters:{operator:"[email protected]"},resultQuality:"good",featureOfInterest:"pfr:nelson:tank:A01",observedProperty:"comment"}),
   (o3:Observation 
{id:"3",phenomenonTime:"2020-01-01T01:00:00Z",resultTime:"2020-01-01T01:00:00Z",result:20.1,parameters:{parameter1:"value1",parameter2:"value2"},resultQuality:"good",featureOfInterest:"pfr:nelson:tank:A01",observedProperty:"water_temperature_celsius"}),
   (o4:Observation 
{id:"4",phenomenonTime:"2020-01-01T01:00:00Z",resultTime:"2020-01-01T01:00:00Z",result:22.2,parameters:{parameter1:"value1",parameter2:"value2"},resultQuality:"good",featureOfInterest:"pfr:nelson:tank:A02",observedProperty:"water_temperature_celsius"}),
   (o5:Observation 
{id:"5",phenomenonTime:"2020-01-01T02:00:00Z",resultTime:"2020-01-01T01:00:00Z",result:22.2,parameters:{parameter1:"value1",parameter2:"value2"},resultQuality:"good",featureOfInterest:"pfr:nelson:tank:A02",observedProperty:"water_temperature_celsius"})
   CREATE (o1)-[:observedProperty]->(water_temperature_celsius),
   (o1)-[:featureOfInterest]->(pfr_feature_tank_A1),
   (o2)-[:observedProperty]->(comment),
   (o2)-[:featureOfInterest]->(pfr_feature_tank_A1),
   (o3)-[:observedProperty]->(water_temperature_celsius),
   (o3)-[:featureOfInterest]->(pfr_feature_tank_A1),
   (o4)-[:observedProperty]->(water_temperature_celsius),
   (o4)-[:featureOfInterest]->(pfr_feature_tank_A2),
   (o5)-[:observedProperty]->(water_temperature_celsius),
   (o5)-[:featureOfInterest]->(pfr_feature_tank_A2)
   RETURN o1
   $$) as (o1 ag_catalog.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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to