milenkovicm commented on code in PR #1360:
URL: 
https://github.com/apache/datafusion-ballista/pull/1360#discussion_r2665443871


##########
ballista/scheduler/src/scheduler_server/grpc.rs:
##########
@@ -392,25 +398,36 @@ impl<T: 'static + AsLogicalPlan, U: 'static + 
AsExecutionPlan> SchedulerGrpc
                         }
                     }
                 }
-                Query::Sql(sql) => {
-                    match session_ctx
-                        .sql(&sql)
-                        .await
-                        .and_then(|df| df.into_optimized_plan())
+                Query::SubstraitPlan(bytes) => {

Review Comment:
   ```
   warning: unused variable: `bytes`
      --> ballista/scheduler/src/scheduler_server/grpc.rs:401:38
       |
   401 |                 Query::SubstraitPlan(bytes) => {
       |                                      ^^^^^ help: if this is 
intentional, prefix it with an underscore: `_bytes`
       |
       = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by 
default
   ```
   
   if substrait disabled 



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to