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

   Not sure if this is related, but seems very similar:
   ```sql
   select * from ag_catalog.cypher('g', $$ with {k0: [{k0: 'v0'}, {k1: 'v1'}]} 
as m return m.k0[1] $$) as (r0 ag_catalog.agtype);
   --       r0
   -- --------------
   --  {"k1": "v1"}
   -- (1 row)
   
   select * from ag_catalog.cypher('g', $$ with {k0: [{k0: 'v0'}, {k1: 'v1'}]} 
as m return m.k0[-1] $$) as (r0 ag_catalog.agtype);
   --  r0
   -- ----
   --
   -- (1 row)
   
   select * from ag_catalog.cypher('g', $$ with {k0: [{k0: 'v0'}, {k1: 'v1'}]} 
as m return m.k0[-1..] $$) as (r0 ag_catalog.agtype);
   -- ERROR:  slice must access a list
   ```
   Note the second part, where the result is missing, and the third, which 
results in an error (while it likely should not).
   


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