[
https://issues.apache.org/jira/browse/ARROW-1896?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17658927#comment-17658927
]
Rok Mihevc commented on ARROW-1896:
-----------------------------------
This issue has been migrated to [issue
#17889|https://github.com/apache/arrow/issues/17889] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [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
> Labels: pull-request-available
> Fix For: 0.13.0
>
> Time Spent: 5.5h
> Remaining Estimate: 0h
>
> 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
(v8.20.10#820010)