From a075d03f01bbfc717304f9f10d953d5daa7c3c2e Mon Sep 17 00:00:00 2001 From: avogar Date: Fri, 15 Sep 2023 14:28:25 +0000 Subject: [PATCH] Fix --- src/Interpreters/Aggregator.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Interpreters/Aggregator.cpp b/src/Interpreters/Aggregator.cpp index 1811b1189ea..e16064db713 100644 --- a/src/Interpreters/Aggregator.cpp +++ b/src/Interpreters/Aggregator.cpp @@ -1281,10 +1281,6 @@ void NO_INLINE Aggregator::executeImplBatch( } else { - /// If all keys are constant and this is new key - /// we don't need to do anything and just skip the whole block. - if (all_keys_are_const) - return; aggregate_data = overflow_row; } }