We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05dc543 commit ad51d87Copy full SHA for ad51d87
parquet/src/arrow/arrow_reader/mod.rs
@@ -1053,7 +1053,7 @@ impl ParquetRecordBatchReader {
1053
if selection_cursor.is_mask_backed() {
1054
// Stream the record batch reader using contiguous segments of the selection
1055
// mask, avoiding the need to materialize intermediate `RowSelector` ranges.
1056
- loop {
+ while !selection_cursor.is_empty() {
1057
let Some(mask_chunk) = selection_cursor.next_mask_chunk(batch_size) else {
1058
return Ok(None);
1059
};
0 commit comments