etseidl commented on code in PR #6797:
URL: https://github.com/apache/arrow-rs/pull/6797#discussion_r1861226034
##########
parquet/src/file/metadata/mod.rs:
##########
@@ -1540,9 +1541,20 @@ impl OffsetIndexBuilder {
first_row_index_array: Vec::new(),
unencoded_byte_array_data_bytes_array: None,
current_first_row_index: 0,
+ enabled: true,
}
}
+ /// Disable writing of offset indexes.
Review Comment:
I never realized that the builders were public. Guess it's not worth the
refactor to make `column_index_builder` an `Option` too.
--
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]