From b28a8087dcd9f12d515b368df0da27b83b4584a0 Mon Sep 17 00:00:00 2001 From: Lordworms <48054792+Lordworms@users.noreply.github.com> Date: Mon, 19 Feb 2024 09:02:53 -0600 Subject: [PATCH] Update datafusion/sql/src/select.rs Co-authored-by: Alex Huang --- datafusion/sql/src/select.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/datafusion/sql/src/select.rs b/datafusion/sql/src/select.rs index 11728f0281c7..7862715e5f1d 100644 --- a/datafusion/sql/src/select.rs +++ b/datafusion/sql/src/select.rs @@ -66,6 +66,7 @@ impl<'a, S: ContextProvider> SqlToRel<'a, S> { if !select.sort_by.is_empty() { return not_impl_err!("SORT BY"); } + // process `from` clause let plan = self.plan_from_tables(select.from, planner_context)?; let empty_from = matches!(plan, LogicalPlan::EmptyRelation(_));