diff --git a/crates/polars-pipe/src/pipeline/convert.rs b/crates/polars-pipe/src/pipeline/convert.rs index 20c0ef4cf747d..c213fe46955c3 100644 --- a/crates/polars-pipe/src/pipeline/convert.rs +++ b/crates/polars-pipe/src/pipeline/convert.rs @@ -13,7 +13,7 @@ use crate::executors::sinks::groupby::GenericGroupby2; use crate::executors::sinks::*; use crate::executors::{operators, sources}; use crate::expressions::PhysicalPipedExpr; -use crate::operators::{Operator, Sink, Sink as SinkTrait, Source}; +use crate::operators::{Operator, Sink as SinkTrait, Source}; use crate::pipeline::PipeLine; fn exprs_to_physical( @@ -147,7 +147,8 @@ where Box::new(IpcSink::new(path, *options, input_schema.as_ref())?) as Box } - _ => unreachable!(), + #[allow(unreachable_patterns)] + _ => unreachable!() } } #[cfg(feature = "cloud")] @@ -169,11 +170,12 @@ where )?) as Box, #[cfg(feature = "ipc")] - FileType::Ipc(ipc_options) => { + FileType::Ipc(_ipc_options) => { // TODO: support Ipc as well todo!("For now, only parquet cloud files are supported"); } - _ => unreachable!(), + #[allow(unreachable_patterns)] + _ => unreachable!() } } }