jorisvandenbossche commented on issue #43838:
URL: https://github.com/apache/arrow/issues/43838#issuecomment-2312469510

   @Angel-212 thanks for the report! 
   
   The issue already happens with the plain (non-chunked) array as well. And 
the repr also shows it being invalid (which is then the reason that a getitem 
operation errors):
   
   ```
   In [24]: arr.cast(dtype)
   Out[24]: 
   <pyarrow.lib.ListArray object at 0x7f0536bbd480>
   <Invalid array: List child array invalid: Invalid: Struct child array #0 has 
length smaller than expected for struct array (1 < 2)>
   ```


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