Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed Nov 6, 2023
1 parent bf76f3b commit bad7f48
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vegafusion-runtime/src/transform/aggregate.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
use crate::expression::compiler::config::CompilationConfig;
use crate::transform::TransformTrait;

use datafusion_expr::{avg, count, count_distinct, lit, max, min, sum, BuiltinScalarFunction, Expr, ExprSchemable};
use datafusion_expr::{
avg, count, count_distinct, lit, max, min, sum, BuiltinScalarFunction, Expr, ExprSchemable,
};
use std::collections::HashMap;

use async_trait::async_trait;
Expand Down Expand Up @@ -168,7 +170,7 @@ pub fn make_agg_expr_for_col_expr(
fun: BuiltinScalarFunction::Coalesce,
args: vec![sum(numeric_col), zero],
})
},
}
AggregateOp::Median => Expr::AggregateFunction(expr::AggregateFunction {
fun: aggregate_function::AggregateFunction::Median,
distinct: false,
Expand Down

0 comments on commit bad7f48

Please sign in to comment.