You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Kouhei Sutou (Jira)" <ji...@apache.org> on 2020/05/19 22:00:00 UTC
[jira] [Resolved] (ARROW-8862) [C++] NumericBuilder does not use
MemoryPool passed to CTOR
[ https://issues.apache.org/jira/browse/ARROW-8862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kouhei Sutou resolved ARROW-8862.
---------------------------------
Fix Version/s: 1.0.0
Resolution: Fixed
Issue resolved by pull request 7227
[https://github.com/apache/arrow/pull/7227]
> [C++] NumericBuilder does not use MemoryPool passed to CTOR
> -----------------------------------------------------------
>
> Key: ARROW-8862
> URL: https://issues.apache.org/jira/browse/ARROW-8862
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Affects Versions: 0.15.0
> Reporter: Simon Watts
> Assignee: Simon Watts
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.0.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {{NumericBuilder}} uses the {{pool}} ({{MemoryPool*}}) parameter to initialise the {{ArrayBuilder}} base class, but does not use it to initialise its own internal builder, {{data_builder_}} ({{TypedBufferBuilder}}). For comparison {{ArrayBuilder}} uses the {{pool}} to initialise its own {{null_bitmap_builder_}} member (also a {{TypedBufferBuilder}}).
> Found in version 0.15.0, present in current head.
> This effect was observed when trying to switch to a custom {{MemoryPool}} for performance reasons. A hook was used to detect any use of the {{MemoryPool}} proved by {{default_memory_pool()}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)