sawatts opened a new pull request #7227:
URL: https://github.com/apache/arrow/pull/7227


   `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`).
   
   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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to