Skip to content

Commit

Permalink
feat(dask): implement json getitem
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud authored and kszucs committed Sep 20, 2022
1 parent 9bfb748 commit 381d805
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ibis/backends/dask/execution/strings.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
)
from ibis.backends.pandas.core import integer_types, scalar_types
from ibis.backends.pandas.execution.strings import (
execute_json_getitem_series_series,
execute_json_getitem_series_str_int,
execute_series_join_scalar_sep,
execute_series_regex_extract,
execute_series_regex_replace,
Expand Down Expand Up @@ -161,6 +163,10 @@
ops.StringJoin: [
(((dd.Series, str), list), execute_series_join_scalar_sep),
],
ops.JSONGetItem: [
((dd.Series, (str, int)), execute_json_getitem_series_str_int),
((dd.Series, dd.Series), execute_json_getitem_series_series),
],
}
register_types_to_dispatcher(execute_node, DASK_DISPATCH_TYPES)

Expand Down

0 comments on commit 381d805

Please sign in to comment.