coderex2522 opened a new pull request, #1299:
URL: https://github.com/apache/orc/pull/1299

   ### What changes were proposed in this pull request?
   This pr doesn't call readHeader function when the seek location is all zero.
   
   
   ### Why are the changes needed?
   When the length of present stream is zero, the seek function pre-call 
readHeader() function will throw ParseError. 
   
   
   ### How was this patch tested?
   Add the ByteRle.seekInEmptyPresentStream and  RLEv1.seekInEmptyPresentStream 
UT.
   


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