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

   `OpenInputFile()` returns a `io::RandomAccessFile` which supports sequential 
reads as well as random access reads. The previous implementation eagerly 
started a sequential read, but many applications do not use that aspect of the 
API. Because GCS has fairly high latency, this can slow down applications that 
are only going to read data using `ReadAt()`. This includes applications using 
Parquet files via PyArrow.
   
   Fixes #34051 
   
   ### What changes are included in this PR?
   
   Change the GcsFileSystem class to lazily start the download used to 
implement the `io::InputFile` APIs.
   
   ### Are these changes tested?
   
   I think so: the existing tests cover the affected functions.
   
   ### Are there any user-facing changes?
   
   No.
   


-- 
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