jorisvandenbossche commented on PR #40482:
URL: https://github.com/apache/arrow/pull/40482#issuecomment-1991631207

   One of the problems with the `Flatten` APIs as far as I understand (and that 
I am not sure you tackled in the current version of the PR?), is that you would 
then also have to change the offsets to keep those matching the flattened 
values. 
   
   From a comment in `ConvertListsLike`:
   ```
       // We can't use Flatten(), because it removes the values behind a null 
list
       // value, and that makes the offsets into original list values and our
       // flattened_values array different.
   ```
   
   So that might be a reason to keep something more similar to the logic we 
have in arrow_to_pandas.cc right now for ListArray


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