Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-5432

[Python] Add 'read_at' method to pyarrow.NativeFile

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.13.0
    • 0.14.0
    • Python

    Description

      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. 

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              dimitrov Ivan Dimitrov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 50m
                  1h 50m