RyanMarcus opened a new pull request, #6752: URL: https://github.com/apache/arrow-rs/pull/6752
# Which issue does this PR close? Helps address part of " Support REE in cast kernels" in #3520 # Rationale for this change Adds support for (limited) casting/conversion of REE arrays. # What changes are included in this PR? * Adds casting to change the type of the run ends in an REE array (e.g., convert from storing each run end as a Int16 to a Int32) * Adds casting from REE arrays of all primitive types to a "flat" array (which is a `PrimitiveArray` under the hood). # Are there any user-facing changes? Currently, `can_cast_type` basically returns false for anything involving an REE array. This PR implements a subset of important casts, but not all of them. Users may be surprised that, for example, a REE array of Int32 can be converted to an array of Int32, but an REE array of Utf8 can't be converted to a Utf8 array (yet). -- 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]
