Ivan Dimitrov created ARROW-5432:
------------------------------------

             Summary: [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
             Fix For: 0.13.0


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
(v7.6.3#76005)

Reply via email to