milesgranger opened a new pull request, #13793:
URL: https://github.com/apache/arrow/pull/13793

   This will fix 
[ARROW-16356](https://issues.apache.org/jira/browse/ARROW-16356), taking over 
from PR #13144  
   
   Adds `pyarrow.NativeFile.get_stream`, ie:
   ```python
   with pa.PythonFile(io.BytesIO(b'data'), mode='r') as f:
       stream = f.get_stream(file_offset=1, nbytes=3)
       assert stream.read() == b'ata'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to