From c60087eec949b5f8a138ac2a58b06522799753e6 Mon Sep 17 00:00:00 2001 From: Anatoly Myachev Date: Wed, 11 Oct 2023 18:58:40 +0200 Subject: [PATCH] FIX-#6642: fix 'modin.numpy.array.sum' on HDK (#6643) Signed-off-by: Anatoly Myachev --- modin/experimental/core/storage_formats/hdk/query_compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modin/experimental/core/storage_formats/hdk/query_compiler.py b/modin/experimental/core/storage_formats/hdk/query_compiler.py index 8c9b0c56fc1..439af6246d5 100644 --- a/modin/experimental/core/storage_formats/hdk/query_compiler.py +++ b/modin/experimental/core/storage_formats/hdk/query_compiler.py @@ -399,7 +399,7 @@ def min(self, **kwargs): return self._agg("min", **kwargs) def sum(self, **kwargs): - min_count = kwargs.pop("min_count") + min_count = kwargs.pop("min_count", 0) if min_count != 0: raise NotImplementedError( f"HDK's sum does not support such set of parameters: min_count={min_count}."