Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
XiangpengHao committed Sep 21, 2024
1 parent a339ed9 commit 49ede98
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions benchmarks/src/util/access_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,13 @@ impl AccessLogOpt {
return TestParquetFile::from_existing(path, generator.schema());
}

let mut props_builder = WriterProperties::builder();
let mut props_builder = WriterProperties::builder()
.set_bloom_filter_enabled(self.bloom_filter)
.set_statistics_enabled(parquet::file::properties::EnabledStatistics::Page);

if let Some(s) = self.page_size {
props_builder = props_builder
.set_data_page_size_limit(s)
.set_bloom_filter_enabled(self.bloom_filter)
.set_write_batch_size(s);
}

Expand Down

0 comments on commit 49ede98

Please sign in to comment.