Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
huaxingao committed Jun 27, 2024
1 parent 1b174a0 commit ebd1964
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions core/src/execution/datafusion/planner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ use datafusion_common::{
JoinType as DFJoinType, ScalarValue,
};
use datafusion_expr::expr::find_df_window_func;
use datafusion_expr::{
ScalarUDF, WindowFrame, WindowFrameBound, WindowFrameUnits,
};
use datafusion_expr::{ScalarUDF, WindowFrame, WindowFrameBound, WindowFrameUnits};
use datafusion_physical_expr::window::WindowExpr;
use datafusion_physical_expr_common::aggregate::create_aggregate_expr;
use itertools::Itertools;
Expand Down Expand Up @@ -1517,11 +1515,9 @@ impl PhysicalPlanner {
Some(AggExprStruct::Max(expr)) => {
Ok(("max".to_string(), optional_expr_to_vec(&expr.child)))
}
other => {
Err(ExecutionError::GeneralError(format!(
"{other:?} not supported for window function"
)))
}
other => Err(ExecutionError::GeneralError(format!(
"{other:?} not supported for window function"
))),
}
}

Expand Down

0 comments on commit ebd1964

Please sign in to comment.