selendym commented on issue #240:
URL: https://github.com/apache/age/issues/240#issuecomment-1181830254

   Nested arrays seem to have similar problems:
   ```sql
   select * from ag_catalog.cypher('g', $$ with [[0, 1], [2, 3]] as l return 
l[0][1] $$) as (r0 ag_catalog.agtype);
   --  r0 
   -- ----
   --  1
   -- (1 row)
   
   select * from ag_catalog.cypher('g', $$ with [[0, 1], [2, 3]] as l return 
l[0][-1] $$) as (r0 ag_catalog.agtype);
   --  r0 
   -- ----
   --  
   -- (1 row)
   
   select * from ag_catalog.cypher('g', $$ with [[0, 1], [2, 3]] as l return 
l[0][-1..] $$) as (r0 ag_catalog.agtype);
   --     r0    
   -- ----------
   --  [[0, 1]]
   -- (1 row)
   ```
   Note the second part, where the result is missing, and the third, which 
doesn't seem to make sense.
   


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