Skip to content

Commit

Permalink
fix planner provider
Browse files Browse the repository at this point in the history
  • Loading branch information
goldmedal committed Jul 17, 2024
1 parent 3070f29 commit 52d1c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/sql/src/expr/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ impl<'a, S: ContextProvider> SqlToRel<'a, S> {
if name.eq("make_map") {
let mut fn_args =
self.function_args_to_expr(args.clone(), schema, planner_context)?;
for planner in self.planners.iter() {
for planner in self.context_provider.get_expr_planners().iter() {
match planner.plan_make_map(fn_args)? {
PlannerResult::Planned(expr) => return Ok(expr),
PlannerResult::Original(args) => fn_args = args,
Expand Down

0 comments on commit 52d1c2b

Please sign in to comment.