From 61d864f846a1a6f1a0e455d265095ad110353404 Mon Sep 17 00:00:00 2001 From: avogar Date: Tue, 29 Nov 2022 18:20:51 +0000 Subject: [PATCH] Remove unneded check --- src/AggregateFunctions/AggregateFunctionIf.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/AggregateFunctions/AggregateFunctionIf.cpp b/src/AggregateFunctions/AggregateFunctionIf.cpp index 0261af0a7d9..793ece53d23 100644 --- a/src/AggregateFunctions/AggregateFunctionIf.cpp +++ b/src/AggregateFunctions/AggregateFunctionIf.cpp @@ -258,8 +258,6 @@ public: static inline bool singleFilter(const IColumn ** columns, size_t row_num, size_t num_arguments) { - if (columns[num_arguments - 1]->onlyNull()) - return false; return assert_cast(*columns[num_arguments - 1]).getData()[row_num]; }