Skip to content

Commit

Permalink
fix tpc-h parquet setting to respect global options (#12405)
Browse files Browse the repository at this point in the history
  • Loading branch information
XiangpengHao authored Sep 10, 2024
1 parent c3f9534 commit 29babce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion benchmarks/src/tpch/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,8 @@ impl RunOpt {
}
"parquet" => {
let path = format!("{path}/{table}");
let format = ParquetFormat::default().with_enable_pruning(true);
let format = ParquetFormat::default()
.with_options(ctx.state().table_options().parquet.clone());

(Arc::new(format), path, DEFAULT_PARQUET_EXTENSION)
}
Expand Down

0 comments on commit 29babce

Please sign in to comment.