Wes McKinney created ARROW-8919: ----------------------------------- Summary: [C++] Add "DispatchBest" APIs to compute::Function that selects a kernel that may require implicit casts to invoke Key: ARROW-8919 URL: https://issues.apache.org/jira/browse/ARROW-8919 Project: Apache Arrow Issue Type: Improvement Components: C++ Reporter: Wes McKinney Fix For: 1.0.0
Currently we have "DispatchExact" which requires an exact match of input types. "DispatchBest" would permit kernel selection with implicit casts required. Since multiple kernels may be valid when allowing implicit casts, we will need to break ties by estimating the "cost" of the implicit casts. For example, casting int8 to int32 is "less expensive" than implicitly casting to int64 -- This message was sent by Atlassian Jira (v8.3.4#803005)