jrgemignani commented on issue #365:
URL: https://github.com/apache/age/issues/365#issuecomment-2048401215

   @avowkind I know why it fails and then works - 
   
   Technically speaking, it shouldn't work as that error is a fatal error, 
that's why it fails the first run. However, the context isn't cleaned up, so it 
works the second run because a context already exists **and** it doesn't need 
to build a new one. As to why it is getting an edge that doesn't have a valid 
start or end id **and** why that edge it got doesn't exist,... I'm still 
looking into that.
   
   For me, it is failing on an edge found in "featureOfInterest" -
   
   ```
   (gdb) p {edge_id, edge_vertex_start_id, edge_vertex_end_id}
   $4 = {3096224744137124, 2533274790715812, 1407374883553780}
   ```
   
   ```
   fishpond=# SELECT * FROM cypher('fishpond', $$MATCH 
()-[edge:featureOfInterest]->() where id(edge) > 3096224744137122 and id(edge) 
< 3096224744137126 RETURN edge ORDER BY id(edge) $$) as (edge agtype);
                                                                      edge
   
   
------------------------------------------------------------------------------------------------------------------------------------
   ------
    {"id": 3096224744137123, "label": "featureOfInterest", "end_id": 
1407374883553780, "start_id": 2533274790715811, "properties": {}}:
   :edge
    {"id": 3096224744137125, "label": "featureOfInterest", "end_id": 
1407374883555256, "start_id": 2533274790715813, "properties": {}}:
   :edge
   (2 rows)
   
   fishpond=#
   ```
   
   


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

Reply via email to