brancz opened a new issue, #18350:
URL: https://github.com/apache/datafusion/issues/18350

   ### Is your feature request related to a problem or challenge?
   
   Quite simple: ListView, as opposed to List, is not supported by the 
`reverse` function, yet.
   
   ### Describe the solution you'd like
   
   Unless I'm misunderstanding the ListView spec, I think this should be 
possible by performing `offset + size - 1` to compute the new offsets and just 
`size * -1`.
   
   Hopefully, downstream usages use iterators and not regular for loops that 
assume strictly increasing indexes, but I'd call that a bug if they didn't.
   
   ### Describe alternatives you've considered
   
   Cast to List instead, however, based on some profiling we've done in the 
other direction (converting List to ListView), this is a terrible idea.
   
   ### Additional context
   
   _No response_


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to