You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/05/19 19:45:46 UTC
[GitHub] [arrow] sawatts opened a new pull request #7227: NumericBuilder - use MemoryPool passed to CTOR
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:
users@infra.apache.org
[GitHub] [arrow] github-actions[bot] commented on pull request #7227: NumericBuilder - use MemoryPool passed to CTOR
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #7227:
URL: https://github.com/apache/arrow/pull/7227#issuecomment-631042978
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
Thanks for opening a pull request!
Could you open an issue for this pull request on JIRA?
https://issues.apache.org/jira/browse/ARROW
Then could you also rename pull request title in the following format?
ARROW-${JIRA_ID}: [${COMPONENT}] ${SUMMARY}
See also:
* [Other pull requests](https://github.com/apache/arrow/pulls/)
* [Contribution Guidelines - How to contribute patches](https://arrow.apache.org/docs/developers/contributing.html#how-to-contribute-patches)
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [arrow] kou closed pull request #7227: ARROW-8862: [C++] NumericBuilder should use MemoryPool passed to CTOR
Posted by GitBox <gi...@apache.org>.
kou closed pull request #7227:
URL: https://github.com/apache/arrow/pull/7227
----------------------------------------------------------------
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:
users@infra.apache.org
[GitHub] [arrow] github-actions[bot] commented on pull request #7227: ARROW-8862: [C++] NumericBuilder should use MemoryPool passed to CTOR
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #7227:
URL: https://github.com/apache/arrow/pull/7227#issuecomment-631051118
https://issues.apache.org/jira/browse/ARROW-8862
----------------------------------------------------------------
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:
users@infra.apache.org