Skip to content

Commit f1cdaba

Browse files
committed
fix logical conflit
1 parent b9a5bb6 commit f1cdaba

File tree

1 file changed

+2
-3
lines changed
  • datafusion/core/src/physical_plan/file_format

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2502,14 +2502,13 @@ mod tests {
25022502
projection: None,
25032503
limit: None,
25042504
table_partition_cols: vec![],
2505+
config_options: ConfigOptions::new().into_shareable(),
25052506
},
25062507
Some(filter),
25072508
None,
25082509
);
25092510

2510-
let parquet_exec_page_index = parquet_exec
2511-
.clone()
2512-
.with_scan_options(ParquetScanOptions::default().with_page_index(true));
2511+
let parquet_exec_page_index = parquet_exec.clone().with_enable_page_index(true);
25132512

25142513
let mut results = parquet_exec_page_index.execute(0, task_ctx)?;
25152514

0 commit comments

Comments
 (0)