You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "felipecrv (via GitHub)" <gi...@apache.org> on 2024/04/08 20:31:22 UTC
Re: [I] [C++] ListArray's Flatten function should support recursive flattening of nested lists [arrow]
felipecrv commented on issue #41055:
URL: https://github.com/apache/arrow/issues/41055#issuecomment-2043592891
> Users need to flatten nested list-arrays( list(list(int32)) ), and then the upper layer needs to implement recursive flatten, which seems inconvenient for them.
Right. But we can't change the behavior of existing `Flatten` to go recursive, but we can add a version that works recursively (and is not naively doing successive concatenations). And yes, it would treat all of `(Large)?List(View)?` as logical lists that need to be flattened until a non-list-like type is reached.
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org