douglas-raillard-arm commented on issue #14736:
URL: https://github.com/apache/arrow/issues/14736#issuecomment-1327868979

   If anyone else is affected, I found a workaround:
   1. Call `.combine_chunks()` on the ChunkedArray to turn it into a StructArray
   2. Call `.field(i)` on the StructArray to get each field. `.type.num_fields` 
gives the number of fields to iterate for.
   
   I guess this has some overhead compared to just calling flatten() as this 
forces to combine the chunks first but it's better than triggering an assert


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