neilconway opened a new pull request, #10008: URL: https://github.com/apache/arrow-rs/pull/10008
# Which issue does this PR close? - Closes #9123. # Rationale for this change Arrow supports casts between decimal and float64/float32; for consistency and completeness, we should also support casts between decimal and float16. In DataFusion, this will be particularly useful: once https://github.com/apache/datafusion/issues/14612 is fixed, `arrow_cast(0.0, 'Float16')` will no longer work, unless we first add support for decimal -> float16 casts in arrow-rs. # What changes are included in this PR? * Add support for decimal -> float16 cast * Add support for float16 -> decimal cast * Add unit tests for new behavior * Update docs/comment on supported casts # Are these changes tested? Yes; new tests added. # Are there any user-facing changes? Yes; new casts are now supported. Otherwise no changes. -- 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]
