diff --git a/crates/polars-plan/src/client/mod.rs b/crates/polars-plan/src/client/mod.rs index e1c1c1562c33..885ba608615d 100644 --- a/crates/polars-plan/src/client/mod.rs +++ b/crates/polars-plan/src/client/mod.rs @@ -23,6 +23,7 @@ pub fn assert_cloud_eligible(dsl: &DslPlan) -> PolarsResult<()> { }, _ => {}, }, + #[cfg(feature = "python")] DslPlan::PythonScan { .. } => return ineligible_error("contains Python scan"), DslPlan::GroupBy { apply: Some(_), .. } => { return ineligible_error("contains Python function in group by operation")