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 688d150 commit b244a83
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/execution/datafusion/planner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1399,7 +1399,7 @@ impl PhysicalPlanner {
window_func_args = result.1;
} else {
return Err(ExecutionError::GeneralError(
"Both func and agg_func are not set".to_string(),
"Both func and agg_func are not set".to_string(),
));
}

Expand Down Expand Up @@ -1491,7 +1491,6 @@ impl PhysicalPlanner {
}

fn process_agg_func(agg_func: &AggExpr) -> Result<(String, Vec<Expr>), ExecutionError> {

fn optional_expr_to_vec(expr_option: &Option<Expr>) -> Vec<Expr> {
expr_option
.as_ref()
Expand Down

0 comments on commit b244a83

Please sign in to comment.