diff options
author | jhspetersson <jhspetersson@gmail.com> | 2024-05-11 09:35:01 +0200 |
---|---|---|
committer | jhspetersson <jhspetersson@gmail.com> | 2024-05-11 09:35:01 +0200 |
commit | 95789b8a3ddd369e594248545aa89e13170f394b (patch) | |
tree | 5ad27420186a32eb690574b4c2269b13575d2b37 | |
parent | 7c7f642c36af6925c7e09dfdf68ca9da0e2ead98 (diff) |
fix calculating aggregates
-rw-r--r-- | src/searcher.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/searcher.rs b/src/searcher.rs index 7874c22..513ae10 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, |