[
https://issues.apache.org/jira/browse/ARROW-1720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17658751#comment-17658751
]
Rok Mihevc commented on ARROW-1720:
-----------------------------------
This issue has been migrated to [issue
#17726|https://github.com/apache/arrow/issues/17726] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [Python] Segmentation fault while trying to access an out-of-bound chunk
> ------------------------------------------------------------------------
>
> Key: ARROW-1720
> URL: https://issues.apache.org/jira/browse/ARROW-1720
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Affects Versions: 0.7.1
> Environment: OS X, Python 3.6.3
> Reporter: Dorus Leliveld
> Assignee: Licht Takeuchi
> Priority: Minor
> Labels: pull-request-available
> Fix For: 0.8.0
>
>
> Following code segfaults.
> {code}
> import pyarrow as pa
> data = [
> pa.array([1, 2, 3, 4]),
> pa.array(['foo', 'bar', 'baz', None]),
> pa.array([True, None, False, True])
> ]
> batch = pa.RecordBatch.from_arrays(data, ['f0', 'f1', 'f2'])
> batches = [batch] * 5
> table = pa.Table.from_batches(batches)
> c = table[0]
> c.data.chunk(5)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)