From 95789b8a3ddd369e594248545aa89e13170f394b Mon Sep 17 00:00:00 2001 From: jhspetersson Date: Sat, 11 May 2024 09:35:01 +0200 Subject: [PATCH] fix calculating aggregates --- src/searcher.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/searcher.rs b/src/searcher.rs index 7874c22b..513ae105 100644 --- a/src/searcher.rs +++ b/src/searcher.rs @@ -698,10 +698,6 @@ impl <'a> Searcher<'a> { let function = &column_expr.function.as_ref().unwrap(); if function.is_aggregate_function() { - if entry.is_some() { - return Variant::empty(VariantType::Float); - } - let _ = self.get_column_expr_value(entry, file_info, file_map, buffer_data, left_expr); let buffer_key = left_expr.to_string(); let aggr_result = function::get_aggregate_value(&column_expr.function,