From f07eea3a3d978b612252593517954e7ede7c74ab Mon Sep 17 00:00:00 2001 From: Stijn de Gooijer Date: Mon, 26 Aug 2024 13:31:40 +0200 Subject: [PATCH] fix(rust): Fix broken feature gate for `ParquetReader` (#18376) --- crates/polars-plan/src/plans/functions/count.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/polars-plan/src/plans/functions/count.rs b/crates/polars-plan/src/plans/functions/count.rs index 9cd3c3554d03..d00f19e36f8a 100644 --- a/crates/polars-plan/src/plans/functions/count.rs +++ b/crates/polars-plan/src/plans/functions/count.rs @@ -12,7 +12,7 @@ use polars_io::parquet::read::ParquetAsyncReader; use polars_io::parquet::read::ParquetReader; #[cfg(all(feature = "parquet", feature = "async"))] use polars_io::pl_async::{get_runtime, with_concurrency_budget}; -#[cfg(feature = "json")] +#[cfg(any(feature = "json", feature = "parquet"))] use polars_io::SerReader; use super::*;