scovich opened a new pull request, #8521: URL: https://github.com/apache/arrow-rs/pull/8521
* NOTE: Stacked on https://github.com/apache/arrow-rs/pull/8481, ignore the first four commits # Which issue does this PR close? - Related to https://github.com/apache/arrow-rs/issues/8336 # Rationale for this change See https://github.com/apache/arrow-rs/pull/8481#issuecomment-3353625324 --`cast_to_variant` and `unshred_variant` have significant overlap in the code that handles conversion of primitive types to variant. # What changes are included in this PR? Define a new `ArrowToVariant` trait that does what it says, and update both sets of code to use it. # Are these changes tested? All existing test coverage of the two conversion functions continues to pass. # Are there any user-facing changes? No. -- 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]
