Skip to content

Commit a507d17

Browse files
krzysztof-kwittcpcloud
authored andcommitted
feat(clickhouse): implement ops.StringAscii
1 parent 8bf203c commit a507d17

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ibis/backends/clickhouse/compiler/values.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,6 +1029,7 @@ def formatter(op, **kw):
10291029
ops.Strip: "trimBoth",
10301030
ops.RegexSearch: "match",
10311031
ops.RegexReplace: "replaceRegexpAll",
1032+
ops.StringAscii: "ascii",
10321033
# Temporal operations
10331034
ops.Date: "toDate",
10341035
ops.TimestampNow: "now",

ibis/backends/tests/test_string.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def test_string_col_is_unicode(alltypes, df):
208208
lambda t: t.string_col.ascii_str(),
209209
lambda t: t.string_col.map(ord).astype('int32'),
210210
id='ascii_str',
211-
marks=pytest.mark.notimpl(["clickhouse", "datafusion", "polars"]),
211+
marks=pytest.mark.notimpl(["datafusion", "polars"]),
212212
),
213213
param(
214214
lambda t: t.string_col.length(),

0 commit comments

Comments
 (0)