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

   ### Is your feature request related to a problem or challenge?
   
   For lists of scalar elements (i.e., for anything except for lists-of-lists), 
we can compute `cardinality` by looking at the offsets in the 
`GenericListArray`. The current implementation creates a new array slice for 
every row and then fetches the length of the slice, which involves a lot of 
unnecessary per-row overhead.
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### 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