Skip to content

Commit 6e4ca51

Browse files
committed
fix fmt
1 parent 99273de commit 6e4ca51

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

datafusion/expr/src/tree_node/expr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ impl TreeNode for Expr {
309309
filter,
310310
order_by,
311311
}) => match func_def {
312-
AggregateFunctionDefinition::BuiltIn (fun) => {
312+
AggregateFunctionDefinition::BuiltIn(fun) => {
313313
Expr::AggregateFunction(AggregateFunction::new(
314314
fun,
315315
transform_vec(args, &mut transform)?,

datafusion/optimizer/src/analyzer/type_coercion.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ impl TreeNodeRewriter for TypeCoercionRewriter {
352352
filter,
353353
order_by,
354354
}) => match func_def {
355-
AggregateFunctionDefinition::BuiltIn (fun) => {
355+
AggregateFunctionDefinition::BuiltIn(fun) => {
356356
let new_expr = coerce_agg_exprs_for_signature(
357357
&fun,
358358
&args,

datafusion/optimizer/src/decorrelate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ fn agg_exprs_evaluation_result_on_empty_batch(
374374
let new_expr = match expr {
375375
Expr::AggregateFunction(expr::AggregateFunction { func_def, .. }) => {
376376
match func_def {
377-
AggregateFunctionDefinition::BuiltIn (fun) => {
377+
AggregateFunctionDefinition::BuiltIn(fun) => {
378378
if matches!(fun, datafusion_expr::AggregateFunction::Count) {
379379
Transformed::Yes(Expr::Literal(ScalarValue::Int64(Some(
380380
0,

datafusion/proto/src/logical_plan/to_proto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ impl TryFrom<&Expr> for protobuf::LogicalExprNode {
660660
ref order_by,
661661
}) => {
662662
match func_def {
663-
AggregateFunctionDefinition::BuiltIn (fun) => {
663+
AggregateFunctionDefinition::BuiltIn(fun) => {
664664
let aggr_function = match fun {
665665
AggregateFunction::ApproxDistinct => {
666666
protobuf::AggregateFunction::ApproxDistinct

0 commit comments

Comments
 (0)