Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dharanad committed Jul 4, 2024
1 parent af9c546 commit 2151a83
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion datafusion/functions/src/core/planner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ impl UserDefinedSQLPlanner for CreateStructPlanner {
pub struct CreateNamedStructPlanner;

impl UserDefinedSQLPlanner for CreateNamedStructPlanner {
fn plan_create_struct(&self, args: Vec<Expr>) -> Result<PlannerResult<Vec<Expr>>> {
fn plan_create_named_struct(
&self,
args: Vec<Expr>,
) -> Result<PlannerResult<Vec<Expr>>> {
Ok(PlannerResult::Planned(Expr::ScalarFunction(
ScalarFunction::new_udf(crate::core::named_struct(), args),
)))
Expand Down

0 comments on commit 2151a83

Please sign in to comment.