diff --git a/crates/polars-lazy/src/physical_plan/state.rs b/crates/polars-lazy/src/physical_plan/state.rs index 3cc45170483a9..c21621addad3a 100644 --- a/crates/polars-lazy/src/physical_plan/state.rs +++ b/crates/polars-lazy/src/physical_plan/state.rs @@ -2,7 +2,7 @@ use std::borrow::Cow; use std::sync::atomic::{AtomicU8, Ordering}; use std::sync::{Mutex, RwLock}; -use bitflags::{bitflags, Flags}; +use bitflags::bitflags; use once_cell::sync::OnceCell; use polars_core::config::verbose; use polars_core::frame::group_by::GroupsProxy; diff --git a/py-polars/src/lazyframe.rs b/py-polars/src/lazyframe.rs index a7d41cef5a5d0..128ad8aba2204 100644 --- a/py-polars/src/lazyframe.rs +++ b/py-polars/src/lazyframe.rs @@ -11,10 +11,10 @@ use polars::lazy::frame::LazyCsvReader; use polars::lazy::frame::LazyJsonLineReader; use polars::lazy::frame::{AllowedOptimizations, LazyFrame}; use polars::lazy::prelude::col; -#[cfg(feature = "csv")] -use polars::prelude::{cloud, ClosedWindow, CsvEncoding, Field, JoinType, Schema}; #[cfg(feature = "json")] use polars::prelude::JsonFormat; +#[cfg(feature = "csv")] +use polars::prelude::{ClosedWindow, CsvEncoding, Field, JoinType, Schema}; use polars::time::*; use polars_core::frame::explode::MeltArgs; use polars_core::frame::UniqueKeepStrategy;