[
https://issues.apache.org/jira/browse/ARROW-3133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16729096#comment-16729096
]
Wes McKinney commented on ARROW-3133:
-------------------------------------
No, there is unavoidable memory allocation in all of the kernels:
* InvertKernel:
https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/kernels/boolean.cc#L64
* Binary:
https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/kernels/boolean.cc#L100
* And:
https://github.com/apache/arrow/blob/master/cpp/src/arrow/compute/kernels/boolean.cc#L116
etc.
this needs to be refactored to decouple memory allocation from kernel invocation
> [C++] Logical boolean kernels in kernels/boolean.cc cannot write into
> preallocated memory
> -----------------------------------------------------------------------------------------
>
> Key: ARROW-3133
> URL: https://issues.apache.org/jira/browse/ARROW-3133
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Wes McKinney
> Priority: Major
> Fix For: 0.13.0
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)