diff --git a/py-polars/src/lazyframe/visitor/nodes.rs b/py-polars/src/lazyframe/visitor/nodes.rs index 5cb370231f50..a706b3e253d2 100644 --- a/py-polars/src/lazyframe/visitor/nodes.rs +++ b/py-polars/src/lazyframe/visitor/nodes.rs @@ -291,6 +291,14 @@ pub(crate) fn into_py(py: Python<'_>, plan: &IR) -> PyResult { predicate: predicate.into(), } .into_py(py), + IR::Scan { + hive_parts: Some(_), + .. + } => { + return Err(PyNotImplementedError::new_err( + "scan with hive partitioning", + )) + }, IR::Scan { paths, file_info: _,