[
https://issues.apache.org/jira/browse/ARROW-11080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Kietzman closed ARROW-11080.
--------------------------------
Resolution: Duplicate
> [C++][Dataset] Improvements to implicit casting
> -----------------------------------------------
>
> Key: ARROW-11080
> URL: https://issues.apache.org/jira/browse/ARROW-11080
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Neal Richardson
> Assignee: Ben Kietzman
> Priority: Major
> Fix For: 3.0.0
>
>
> Followup to ARROW-10322. In ARROW-9187, where we started making use of more
> compute functions in R, we found a couple of places where implicit casts
> weren't being inserted where they should:
> *
> https://github.com/apache/arrow/pull/8947/commits/843ff2a39d8a4e1c92247fb672567c0b85b4f45a#diff-79100695986bbd6a63704fe9f238ce3ae9a39ddd093b7f6b213d4a722309d20aR576
> "Function multiply_checked has no kernel matching input types
> (scalar[double], array[int32])"
> *
> https://github.com/apache/arrow/pull/8947/commits/843ff2a39d8a4e1c92247fb672567c0b85b4f45a#diff-79100695986bbd6a63704fe9f238ce3ae9a39ddd093b7f6b213d4a722309d20aR590
> "Function add_checked has no kernel matching input types (array[double],
> array[int32])" because implicit casts are only applied to scalars to cast
> them to the type of the other argument
> This may speak to a need for more rules around how inputs should be
> casted/promoted in different contexts.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)