tustvold commented on a change in pull request #1418:
URL: https://github.com/apache/arrow-rs/pull/1418#discussion_r823822808



##########
File path: parquet/src/encodings/decoding.rs
##########
@@ -668,9 +667,9 @@ where
 
             read += batch_read;
             self.mini_block_remaining -= batch_read;
+            self.values_left -= batch_read;

Review comment:
       This is the fix for #1417 - the problem was that as `self.value_left` 
was only decremented outside the loop, the code in `next_block` was unable to 
correctly determine when the bit widths were padding




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