You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Li (Jira)" <ji...@apache.org> on 2022/03/01 13:15:00 UTC
[jira] [Resolved] (ARROW-15118) [C++] Avoid bitmap buffer if all inputs are all valid for Scalar Kernels
[ https://issues.apache.org/jira/browse/ARROW-15118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Li resolved ARROW-15118.
------------------------------
Resolution: Fixed
Issue resolved by pull request 12080
[https://github.com/apache/arrow/pull/12080]
> [C++] Avoid bitmap buffer if all inputs are all valid for Scalar Kernels
> ------------------------------------------------------------------------
>
> Key: ARROW-15118
> URL: https://issues.apache.org/jira/browse/ARROW-15118
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Eduardo Ponce
> Assignee: Pradeep Garigipati
> Priority: Minor
> Labels: good-second-issue, kernel, pull-request-available
> Fix For: 8.0.0
>
> Time Spent: 4h 10m
> Remaining Estimate: 0h
>
> Cast kernels seem to always create and populate the null bitmap even if the input data structure had a {{nullptr}} null bitmap. This automatic and extra allocation is not desirable, and not consistent.
> It seems some cast kernels use COMPUTED_NO_PREALLOCATE and others use the default (INTERSECTION). We could change INTERSECTION to be a general case where if all inputs have no nulls, then a null bitmap should not be emitted.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)