goldigd05 commented on issue #47886: URL: https://github.com/apache/arrow/issues/47886#issuecomment-3708388660
Hi, I would like to report a bug in `if_else` when used on ordered dictionary ChunkedArrays. Currently, the resulting ChunkedArray reports `ordered=True` at the top level, but its internal chunks are `ordered=False`. This can cause C++ errors like "Array chunks must all be same type" when using `arrow::compute::CallFunction`. I suggest that `if_else` should either: 1. Preserve the `ordered` property for each internal chunk, or 2. If chunks cannot remain ordered, mark the top-level ChunkedArray as unordered. I can help reproduce this in a minimal test and propose a fix. -- 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]
