alamb commented on code in PR #7574:
URL: https://github.com/apache/arrow-rs/pull/7574#discussion_r2121416632
##########
parquet/tests/arrow_reader/mod.rs:
##########
@@ -1027,11 +1058,15 @@ async fn make_test_file_rg(scenario: Scenario,
row_per_group: usize) -> NamedTem
.tempfile()
.expect("tempfile creation");
- let props = WriterProperties::builder()
+ let mut builder = WriterProperties::builder()
.set_max_row_group_size(row_per_group)
.set_bloom_filter_enabled(true)
- .set_statistics_enabled(EnabledStatistics::Page)
- .build();
+ .set_statistics_enabled(EnabledStatistics::Page);
+ if matches!(scenario, Scenario::TruncatedUTF8) {
+ // The same as default `column_index_truncate_length` to check both
stats with one value
Review Comment:
This will not be needed after https://github.com/apache/arrow-rs/pull/7578
(but that won't be merged for a while)
--
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]