Skip to content

Commit 291a290

Browse files
committed
feat(pyspark): enable multiple values in .substitute
1 parent 4b28ff1 commit 291a290

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ibis/backends/tests/test_string.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,16 +1022,14 @@ def test_array_string_join(con):
10221022

10231023

10241024
@pytest.mark.notimpl(
1025-
["mssql", "mysql", "pyspark", "druid", "oracle"],
1026-
raises=com.OperationNotDefinedError,
1025+
["mssql", "mysql", "druid", "oracle"], raises=com.OperationNotDefinedError
10271026
)
10281027
def test_subs_with_re_replace(con):
10291028
expr = ibis.literal("hi").re_replace("i", "a").substitute({"d": "b"}, else_="k")
10301029
result = con.execute(expr)
10311030
assert result == "k"
10321031

10331032

1034-
@pytest.mark.notimpl(["pyspark"], raises=com.OperationNotDefinedError)
10351033
def test_multiple_subs(con):
10361034
m = {"foo": "FOO", "bar": "BAR"}
10371035
expr = ibis.literal("foo").substitute(m)

0 commit comments

Comments
 (0)