[ https://issues.apache.org/jira/browse/ARROW-8862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kouhei Sutou reassigned ARROW-8862: ----------------------------------- Assignee: Simon Watts > [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 > 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)