[
https://issues.apache.org/jira/browse/ARROW-5432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17662456#comment-17662456
]
Rok Mihevc commented on ARROW-5432:
-----------------------------------
This issue has been migrated to [issue
#21885|https://github.com/apache/arrow/issues/21885] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [Python] Add 'read_at' method to pyarrow.NativeFile
> ---------------------------------------------------
>
> Key: ARROW-5432
> URL: https://issues.apache.org/jira/browse/ARROW-5432
> Project: Apache Arrow
> Issue Type: New Feature
> Components: Python
> Affects Versions: 0.13.0
> Reporter: Ivan Dimitrov
> Assignee: Antoine Pitrou
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 0.14.0
>
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> We'd like to open a file (using HadoopFileSystem) and then read a block of
> data specified by the offset and the length. We don't want any read ahead to
> happen.
> The libhdfs driver supprots hdfsPread, and it exposes a ReadAt method in the
> RandomAccessFile interface. However, there is no way to access it from
> python.
> We add a read_at method to pyarrow.NativeFile that would expose this
> functionality.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)