This is an automated email from the ASF dual-hosted git repository. agrove pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/arrow.git
The following commit(s) were added to refs/heads/master by this push: new 3fc7fe4 ARROW-9691: [Rust] [DataFusion] Make sql_statement_to_plan method public 3fc7fe4 is described below commit 3fc7fe4ebef5dab93981b941354282108ecfe9ba Author: Andy Grove <andygrov...@gmail.com> AuthorDate: Tue Aug 11 20:32:13 2020 -0600 ARROW-9691: [Rust] [DataFusion] Make sql_statement_to_plan method public Closes #7930 from andygrove/ARROW-9691 Authored-by: Andy Grove <andygrov...@gmail.com> Signed-off-by: Andy Grove <andygrov...@gmail.com> --- rust/datafusion/src/sql/planner.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/datafusion/src/sql/planner.rs b/rust/datafusion/src/sql/planner.rs index a78f790..748262c 100644 --- a/rust/datafusion/src/sql/planner.rs +++ b/rust/datafusion/src/sql/planner.rs @@ -64,7 +64,7 @@ impl<S: SchemaProvider> SqlToRel<S> { } /// Generate a logical plan from an SQL statement - fn sql_statement_to_plan(&self, sql: &Statement) -> Result<LogicalPlan> { + pub fn sql_statement_to_plan(&self, sql: &Statement) -> Result<LogicalPlan> { match sql { Statement::Query(query) => self.query_to_plan(&query), _ => Err(ExecutionError::NotImplemented(