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 2020/05/19 20:33:00 UTC
[jira] [Updated] (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 ]
Wes McKinney updated ARROW-8862:
--------------------------------
Summary: [C++] NumericBuilder does not use MemoryPool passed to CTOR (was: NumericBuilder does not use MemoryPool passed to CTOR)
> [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
> Priority: Major
> Labels: pull-request-available
> 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)