You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2018/02/08 00:05:00 UTC

[jira] [Updated] (ARROW-1896) [C++] Do not allocate memory for primitive outputs in CastKernel::Call implementation

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

Wes McKinney updated ARROW-1896:
--------------------------------
    Fix Version/s:     (was: 0.9.0)
                   0.10.0

> [C++] Do not allocate memory for primitive outputs in CastKernel::Call implementation
> -------------------------------------------------------------------------------------
>
>                 Key: ARROW-1896
>                 URL: https://issues.apache.org/jira/browse/ARROW-1896
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>            Reporter: Wes McKinney
>            Assignee: Wes McKinney
>            Priority: Major
>             Fix For: 0.10.0
>
>
> This is some refactoring / tidying. Unless an output of cast has a non-determinate size (e.g. is Binary or something else), the {{CastKernel::Call}} implementation should assume that it is writing into pre-allocated memory. The corresponding memory allocation can be lifted into the {{arrow::compute::Cast}} API



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)