From bb82020594c02b6115f343c87c3064d32fa3acd9 Mon Sep 17 00:00:00 2001 From: Edoardo Abati <29585319+EdAbati@users.noreply.github.com> Date: Tue, 3 Dec 2024 18:34:47 +0100 Subject: [PATCH] add implementation to expr --- narwhals/_spark_like/expr.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/narwhals/_spark_like/expr.py b/narwhals/_spark_like/expr.py index fa651d7b5..da3f7bc6d 100644 --- a/narwhals/_spark_like/expr.py +++ b/narwhals/_spark_like/expr.py @@ -7,6 +7,7 @@ from narwhals._spark_like.utils import get_column_name from narwhals._spark_like.utils import maybe_evaluate +from narwhals.utils import Implementation from narwhals.utils import parse_version if TYPE_CHECKING: @@ -19,6 +20,8 @@ class SparkExpr: + _implementation = Implementation.PYSPARK + def __init__( self, call: Callable[[SparkLazyFrame], list[Column]],