From 74bd6e55020836e4bd12f549ee03e9b85f4f37b9 Mon Sep 17 00:00:00 2001 From: Ritchie Vink Date: Tue, 10 Oct 2023 12:44:38 +0200 Subject: [PATCH] perf: actually use projection information in async parquet reader (#11637) --- crates/polars-lazy/src/physical_plan/executors/scan/parquet.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/polars-lazy/src/physical_plan/executors/scan/parquet.rs b/crates/polars-lazy/src/physical_plan/executors/scan/parquet.rs index 6a4e6c51e1c7..4bbae2254a87 100644 --- a/crates/polars-lazy/src/physical_plan/executors/scan/parquet.rs +++ b/crates/polars-lazy/src/physical_plan/executors/scan/parquet.rs @@ -78,6 +78,7 @@ impl ParquetExec { .await? .with_n_rows(n_rows) .with_row_count(mem::take(&mut self.file_options.row_count)) + .with_projection(projection) .use_statistics(self.options.use_statistics) .with_hive_partition_columns(hive_partitions);