Skip to content

Commit

Permalink
fix calculating aggregates
Browse files Browse the repository at this point in the history
  • Loading branch information
jhspetersson committed May 11, 2024
1 parent 7c7f642 commit 95789b8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/searcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 95789b8

Please sign in to comment.