Skip to content

Commit a0cb27c

Browse files
committed
Fixup test
1 parent fc04d7d commit a0cb27c

File tree

1 file changed

+4
-8
lines changed
  • datafusion/core/src/physical_plan/file_format

1 file changed

+4
-8
lines changed

datafusion/core/src/physical_plan/file_format/parquet.rs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ mod tests {
959959
let file_groups = meta.into_iter().map(Into::into).collect();
960960

961961
// prepare the scan
962-
let mut parquet_exec = ParquetExec::new(
962+
let parquet_exec = ParquetExec::new(
963963
FileScanConfig {
964964
object_store_url: ObjectStoreUrl::local_filesystem(),
965965
file_groups: vec![file_groups],
@@ -972,13 +972,9 @@ mod tests {
972972
},
973973
predicate,
974974
None,
975-
);
976-
977-
if pushdown_predicate {
978-
parquet_exec = parquet_exec
979-
.with_pushdown_filters(true)
980-
.with_reorder_filters(true);
981-
}
975+
)
976+
.with_pushdown_filters(pushdown_predicate)
977+
.with_reorder_filters(pushdown_predicate);
982978

983979
let session_ctx = SessionContext::new();
984980
let task_ctx = session_ctx.task_ctx();

0 commit comments

Comments
 (0)