xudong963 commented on a change in pull request #1437: URL: https://github.com/apache/arrow-datafusion/pull/1437#discussion_r767168217
########## File path: datafusion/src/sql/planner.rs ########## @@ -200,7 +211,9 @@ impl<'a, S: ContextProvider> SqlToRel<'a, S> { /// Generate a logic plan from an SQL query pub fn query_to_plan(&self, query: &Query) -> Result<LogicalPlan> { - self.query_to_plan_with_alias(query, None, &mut HashMap::new()) + self.safe_recursion(|| { Review comment: Determine if it is safe to call this function without stack overflow, if it's not safe, return `Err(Recursion exceeded limit)` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org