rdettai commented on a change in pull request #1013:
URL: https://github.com/apache/arrow-datafusion/pull/1013#discussion_r711024083



##########
File path: ballista/rust/client/src/context.rs
##########
@@ -245,7 +245,7 @@ impl BallistaContext {
             let state = self.state.lock().unwrap();
             for (name, plan) in &state.tables {
                 let plan = ctx.optimize(plan)?;
-                let execution_plan = ctx.create_physical_plan(&plan)?;
+                let execution_plan = ctx.create_physical_plan(&plan).await?;
                 ctx.register_table(
                     TableReference::Bare { table: name },
                     Arc::new(DfTableAdapter::new(plan, execution_plan)),

Review comment:
       I feel `BallistaContext.sql()` should not become async. Opening #1016 to 
track that.




-- 
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]


Reply via email to