From 291a290c194e8337207a82c890237ce288e5386c Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Sat, 18 Nov 2023 12:00:28 -0500 Subject: [PATCH] feat(pyspark): enable multiple values in `.substitute` --- ibis/backends/tests/test_string.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ibis/backends/tests/test_string.py b/ibis/backends/tests/test_string.py index 7f1b4939d1ec..4e8767192519 100644 --- a/ibis/backends/tests/test_string.py +++ b/ibis/backends/tests/test_string.py @@ -1022,8 +1022,7 @@ def test_array_string_join(con): @pytest.mark.notimpl( - ["mssql", "mysql", "pyspark", "druid", "oracle"], - raises=com.OperationNotDefinedError, + ["mssql", "mysql", "druid", "oracle"], raises=com.OperationNotDefinedError ) def test_subs_with_re_replace(con): expr = ibis.literal("hi").re_replace("i", "a").substitute({"d": "b"}, else_="k") @@ -1031,7 +1030,6 @@ def test_subs_with_re_replace(con): assert result == "k" -@pytest.mark.notimpl(["pyspark"], raises=com.OperationNotDefinedError) def test_multiple_subs(con): m = {"foo": "FOO", "bar": "BAR"} expr = ibis.literal("foo").substitute(m)