tachyonwill opened a new pull request #11984:
URL: https://github.com/apache/arrow/pull/11984
Column reader uses the values reported in the page header to gauge
if there are more values left to read. However, corrupted page headers
might overstate the number of values. This can cause an infinite loop
when reading a column when doing something like:
while(reader.HasNext()) {
reader.ReadBatch(...);
}
Ideally HasNext() would return false in these cases, but that seems
non-trivial. Instead, we change ReadBatch to throw an exception in these
cases.
--
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]