tustvold commented on code in PR #4607:
URL: https://github.com/apache/arrow-datafusion/pull/4607#discussion_r1047632462
##########
datafusion/core/src/execution/context.rs:
##########
@@ -564,8 +568,58 @@ impl SessionContext {
}
// create a query planner
- let state = self.state.read().clone();
- let query_planner = SqlToRel::new(&state);
+ let mut provider = {
Review Comment:
This is the real meat of the change, rather than making planning async, we
instead determine what tables are needed by the query ahead of time and use
those.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]