From 30ae5df519715ef46e03bf78716c17c08e80a8db Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Mon, 6 Jun 2022 16:51:16 -0400 Subject: [PATCH] Fix spelling of `indexes` --- datafusion/sql/src/planner.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datafusion/sql/src/planner.rs b/datafusion/sql/src/planner.rs index 1e5daa472baba..9f028e7e56bf8 100644 --- a/datafusion/sql/src/planner.rs +++ b/datafusion/sql/src/planner.rs @@ -1666,9 +1666,9 @@ impl<'a, S: ContextProvider> SqlToRel<'a, S> { } } - SQLExpr::ArrayIndex { obj, indexs } => { + SQLExpr::ArrayIndex { obj, indexes } => { let expr = self.sql_expr_to_logical_expr(*obj, schema, ctes)?; - plan_indexed(expr, indexs) + plan_indexed(expr, indexes) } SQLExpr::CompoundIdentifier(ids) => {