-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Python] combine_chunks fails on column of table, but does not error on table itself #28850
Comments
Joris Van den Bossche / @jorisvandenbossche: Lines 532 to 568 in 998a2a1
The ChunkedArray version is backed by arrow/cpp/src/arrow/array/concatenate.h Lines 28 to 36 in 998a2a1
CombineChunks is actually calling Concatenate on each column and handling the possible overflow).
Now, that's the explanation of the difference, but the question is of course if we want to unify that behaviour. Or for example have a keyword to indicate that multiple chunks is also fine for the Array case. |
David Li / @lidavidm: |
Gert Hulselmans / @ghuls: It is actually the solution that will be used in polars for handling this problem: |
combine_chunks fails on column of table, but does not error on table itself (but creates 3 chunks instead).
Is there a reason why they are not handled the same?
Reporter: Gert Hulselmans / @ghuls
Related issues:
Note: This issue was originally created as ARROW-13150. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: