[ https://issues.apache.org/jira/browse/ARROW-5432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rok Mihevc updated ARROW-5432: ------------------------------ External issue URL: https://github.com/apache/arrow/issues/21885 > [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)