tustvold commented on code in PR #6797:
URL: https://github.com/apache/arrow-rs/pull/6797#discussion_r1858228110
##########
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:
What is the motivation for building this into the builder, as opposed to
simply wrapping the OffsetIndexBuilder in Option?
--
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]