diff --git a/py-polars/src/lazyframe/visitor/nodes.rs b/py-polars/src/lazyframe/visitor/nodes.rs index 8ec73aff70c6..219ec49aa6b2 100644 --- a/py-polars/src/lazyframe/visitor/nodes.rs +++ b/py-polars/src/lazyframe/visitor/nodes.rs @@ -118,8 +118,6 @@ pub struct DataFrameScan { pub struct SimpleProjection { #[pyo3(get)] input: usize, - #[pyo3(get)] - duplicate_check: bool, } #[pyclass] @@ -328,15 +326,9 @@ pub(crate) fn into_py(py: Python<'_>, plan: &IR) -> PyResult { selection: selection.as_ref().map(|e| e.into()), } .into_py(py), - IR::SimpleProjection { - input, - columns: _, - duplicate_check, - } => SimpleProjection { - input: input.0, - duplicate_check: *duplicate_check, - } - .into_py(py), + IR::SimpleProjection { input, columns: _ } => { + SimpleProjection { input: input.0 }.into_py(py) + }, IR::Select { input, expr, diff --git a/py-polars/tests/unit/functions/test_functions.py b/py-polars/tests/unit/functions/test_functions.py index ba751caf6450..fea6fb8f9a1d 100644 --- a/py-polars/tests/unit/functions/test_functions.py +++ b/py-polars/tests/unit/functions/test_functions.py @@ -74,7 +74,6 @@ def test_concat_align_no_common_cols() -> None: def test_concat_diagonal( a: pl.DataFrame, b: pl.DataFrame, c: pl.DataFrame, strategy: ConcatMethod ) -> None: - print(a, b, c); for out in [ pl.concat([a, b, c], how=strategy), pl.concat([a.lazy(), b.lazy(), c.lazy()], how=strategy).collect(),