Skip to content

Commit e37e7b9

Browse files
committed
Fixup test
1 parent e3264f5 commit e37e7b9

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
@@ -986,7 +986,7 @@ mod tests {
986986
let file_groups = meta.into_iter().map(Into::into).collect();
987987

988988
// prepare the scan
989-
let mut parquet_exec = ParquetExec::new(
989+
let parquet_exec = ParquetExec::new(
990990
FileScanConfig {
991991
object_store_url: ObjectStoreUrl::local_filesystem(),
992992
file_groups: vec![file_groups],
@@ -999,13 +999,9 @@ mod tests {
999999
},
10001000
predicate,
10011001
None,
1002-
);
1003-
1004-
if pushdown_predicate {
1005-
parquet_exec = parquet_exec
1006-
.with_pushdown_filters(true)
1007-
.with_reorder_filters(true);
1008-
}
1002+
)
1003+
.with_pushdown_filters(pushdown_predicate)
1004+
.with_reorder_filters(pushdown_predicate);
10091005

10101006
let session_ctx = SessionContext::new();
10111007
let task_ctx = session_ctx.task_ctx();

0 commit comments

Comments
 (0)