From 29babce95e69cab9ff2ce3beb4805196cae33316 Mon Sep 17 00:00:00 2001 From: Xiangpeng Hao Date: Tue, 10 Sep 2024 05:59:25 -0500 Subject: [PATCH] fix tpc-h parquet setting to respect global options (#12405) --- benchmarks/src/tpch/run.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/benchmarks/src/tpch/run.rs b/benchmarks/src/tpch/run.rs index ebc5ac0dbd5a..d79eb65649bd 100644 --- a/benchmarks/src/tpch/run.rs +++ b/benchmarks/src/tpch/run.rs @@ -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) }