nevi-me opened a new issue #594:
URL: https://github.com/apache/arrow-rs/issues/594


   **Describe the bug**
   
   We resolved struct slices by passing the offset and length to child data, 
but this doesn't work on lists that have struct children, because when slicing 
lists, we don't pass its offset and length to its child data (a list has 1 
child datum). This is because we can calculate this at runtime when indexing 
into a list.
   
   **To Reproduce**
   
   * Create a `list<struct<[int]>>` or a `map` array.
   * Slice the array
   * Try to slice into the array
   
   **Expected behavior**
   
   We should correctly slice into lists of structs, and maps
   
   **Additional context**
   
   I picked this up while addressing reviews on #491 
   


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