[
https://issues.apache.org/jira/browse/ARROW-2601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rok Mihevc updated ARROW-2601:
------------------------------
External issue URL: https://github.com/apache/arrow/issues/19001
> [Python] MemoryPool bytes_allocated causes seg
> ----------------------------------------------
>
> Key: ARROW-2601
> URL: https://issues.apache.org/jira/browse/ARROW-2601
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 0.9.0
> Reporter: Alex Hagerman
> Assignee: Wes McKinney
> Priority: Minor
> Labels: pull-request-available
> Fix For: 0.10.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> Python 3.6.5 |Anaconda, Inc.| (default, Mar 29 2018, 18:21:58)
> [GCC 7.2.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pyarrow as pa
> >>> mp = pa.MemoryPool()
> >>> arr = pa.array([1,2,3], memory_pool=mp)
> >>> mp.bytes_allocated()
> Segmentation fault (core dumped)
> I'll dig into this further, but should bytes_alloacted be returning anything
> when called like this? Or should it raise NotImplemented?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)