[
https://issues.apache.org/jira/browse/ARROW-3009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17660034#comment-17660034
]
Rok Mihevc commented on ARROW-3009:
-----------------------------------
This issue has been migrated to [issue
#15768|https://github.com/apache/arrow/issues/15768] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [Python] pyarrow.orc uses APIs now prohibited in 0.10.0
> -------------------------------------------------------
>
> Key: ARROW-3009
> URL: https://issues.apache.org/jira/browse/ARROW-3009
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Jim Crist
> Assignee: Jim Crist
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.11.0
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> This is probably because there no tests for the python orc reader (sorry I
> never got around to that).
> The error message is
> TypeError: Do not call RecordBatch's constructor directly, use one of the
> `RecordBatch.from_*` functions instead.
> and comes from these lines in the orc cython code:
> https://github.com/apache/arrow/blob/master/python/pyarrow/_orc.pyx#L96-L97
> I'm not sure what they should be replaced with in the new api.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)