Skip to content

Commit

Permalink
feat(clickhouse): implement ops.StringAscii
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysztof-kwitt authored and cpcloud committed Feb 5, 2023
1 parent 8bf203c commit a507d17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ibis/backends/clickhouse/compiler/values.py
Original file line number Diff line number Diff line change
Expand Up @@ -1029,6 +1029,7 @@ def formatter(op, **kw):
ops.Strip: "trimBoth",
ops.RegexSearch: "match",
ops.RegexReplace: "replaceRegexpAll",
ops.StringAscii: "ascii",
# Temporal operations
ops.Date: "toDate",
ops.TimestampNow: "now",
Expand Down
2 changes: 1 addition & 1 deletion ibis/backends/tests/test_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def test_string_col_is_unicode(alltypes, df):
lambda t: t.string_col.ascii_str(),
lambda t: t.string_col.map(ord).astype('int32'),
id='ascii_str',
marks=pytest.mark.notimpl(["clickhouse", "datafusion", "polars"]),
marks=pytest.mark.notimpl(["datafusion", "polars"]),
),
param(
lambda t: t.string_col.length(),
Expand Down

0 comments on commit a507d17

Please sign in to comment.