You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2021/02/10 20:49:01 UTC

[jira] [Resolved] (ARROW-8919) [C++] Add "DispatchBest" APIs to compute::Function that selects a kernel that may require implicit casts to invoke

     [ https://issues.apache.org/jira/browse/ARROW-8919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ben Kietzman resolved ARROW-8919.
---------------------------------
    Resolution: Fixed

Issue resolved by pull request 9294
[https://github.com/apache/arrow/pull/9294]

> [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++
>    Affects Versions: 2.0.0
>            Reporter: Wes McKinney
>            Assignee: Ben Kietzman
>            Priority: Major
>              Labels: compute, pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 8h 50m
>  Remaining Estimate: 0h
>
> 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)