etseidl commented on code in PR #8476:
URL: https://github.com/apache/arrow-rs/pull/8476#discussion_r2389117591
##########
parquet/src/file/metadata/mod.rs:
##########
@@ -2100,20 +1824,18 @@ mod tests {
offset_index.append_row_count(1);
offset_index.append_offset_and_size(2, 3);
offset_index.append_unencoded_byte_array_data_bytes(Some(10));
- let offset_index = offset_index.build_to_thrift();
+ let offset_index = offset_index.build();
let parquet_meta = ParquetMetaDataBuilder::new(file_metadata)
.set_row_groups(row_group_meta)
.set_column_index(Some(vec![vec![ColumnIndexMetaData::BOOLEAN(native_index)]]))
- .set_offset_index(Some(vec![vec![
- OffsetIndexMetaData::try_new(offset_index).unwrap()
- ]]))
+ .set_offset_index(Some(vec![vec![offset_index]]))
.build();
#[cfg(not(feature = "encryption"))]
- let bigger_expected_size = 2704;
+ let bigger_expected_size = 2706;
Review Comment:
No idea. But comparing to main this is 2706 vs 2816.
--
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]