Skip to content

Commit

Permalink
denote groupby apply udfs in cache key
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-b-miller committed Mar 21, 2023
1 parent 197bce6 commit 425a912
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/cudf/cudf/core/udf/groupby_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ def jit_groupby_apply(offsets, grouped_values, function, *args):
ngroups = len(offsets) - 1

cache_key = _generate_cache_key(grouped_values, function)
# add a string breaking any degeneracies with standard apply UDFs
cache_key = (*cache_key, "__GROUPBY_APPLY_UDF")

if cache_key not in precompiled:
precompiled[cache_key] = _get_groupby_apply_kernel(
grouped_values, function, args
Expand Down

0 comments on commit 425a912

Please sign in to comment.