rdettai commented on pull request #8525:
URL: https://github.com/apache/arrow/pull/8525#issuecomment-716388352


   @alamb has raised doubts in https://github.com/apache/arrow/pull/8300 about 
the necessity for this as the file size could be known from an other source 
(list operation or metadata catalog). I still want to propose this for 
discussion as I believe it is more flexible than the current interface. 
   
   There is one catch I encountered though when implementing the S3 source: the 
http range header 
(https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range) allows you to 
read from end, but not from end with a given offset. So implementing the 
ChunkReader as it is specified here forces you to query more bytes than 
required (up until the end) and stop reading the stream once you have the data 
you need.


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

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


Reply via email to