jrgemignani commented on issue #195:
URL: https://github.com/apache/incubator-age/issues/195#issuecomment-1071112781


   A query will always run to completion unless you use LIMIT -
   
   ```
   psql-11.5-5432-pgsql=# SELECT * FROM cypher('agload_test_graph', $$ match 
(u)-[*1..1]->() return u limit 3 $$) AS (result agtype);
                                                                                
                                            result
   
   
------------------------------------------------------------------------------------------------------------------------------------
   
---------------------------------------------------------------------------------------------------------------------
    {"id": 1125899906842777, "label": "City", "properties": {"id": "153", 
"name": "Banaj", "__id__": 153, "latitude": "40.82492", "stat
   e_id": "629", "longitude": "19.84074", "country_id": "3", "state_code": 
"BR", "country_code": "AL"}}::vertex
    {"id": 1125899906842778, "label": "City", "properties": {"id": "154", 
"name": "Bashkia Berat", "__id__": 154, "latitude": "40.69997
   ", "state_id": "629", "longitude": "19.94983", "country_id": "3", 
"state_code": "BR", "country_code": "AL"}}::vertex
    {"id": 1125899906842794, "label": "City", "properties": {"id": "170", 
"name": "Bashkia Kuçovë", "__id__": 170, "latitude": "40.8248
   9", "state_id": "629", "longitude": "19.9535", "country_id": "3", 
"state_code": "BR", "country_code": "AL"}}::vertex
   (3 rows)
   
   psql-11.5-5432-pgsql=#
   ```
   


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