Details
-
Bug
-
Resolution: Fixed
-
Major
-
Columnar 1.0.0
-
Untriaged
-
0
-
Unknown
-
Analytics Sprint 47
Description
Currently, when reading a range of bytes from a file, we read a chunk of size buffer.remaining(), and our check condition is while (buffer.remaining() > 0). This can lead to looping infinitely if the bytes left in the a file are less than the amount we are reading, we should probably check for hitting an EOF and properly fail as this would be an unexpected case.
Attachments
Issue Links
- links to