diff --git a/storey/targets.py b/storey/targets.py index 0433942e..e85eee69 100644 --- a/storey/targets.py +++ b/storey/targets.py @@ -164,7 +164,7 @@ def _path_from_event(self, event): col = f'igzpart_hash{hash_into}_{col}' if isinstance(val, list): val = '.'.join(map(str, val)) - val = hash(val) / hash_into + val = hash(val) % hash_into elif is_meta: col = f'igzpart_{col}'