milenkovicm opened a new issue, #1475:
URL: https://github.com/apache/datafusion-ballista/issues/1475

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   At the moment, `ExecuteQuery` submits job, then it goes and pulls data from 
`GetJobStatusParams` every predefined number of milliseconds
   
   
https://github.com/milenkovicm/datafusion-ballista/blob/debc627353587f523ef2707101d40864699d1a72/ballista/core/src/execution_plans/distributed_query.rs#L369-L370
   
   this does work but puts unnecessary pressure on scheduler
   
   **Describe the solution you'd like**
   
   Provide additional method, something like 
`ExecuteQueryAndWaitJobCompletion`, which would return a stream of  
`GetJobStatusResult` which would be push based. We would need to change 
scheduler task manager to send updates to observers. 
   
   **Describe alternatives you've considered**
   
   An alternative approach would be to change `rpc GetJobStatus 
(GetJobStatusParams) returns (GetJobStatusResult) {}` to return stream of 
`GetJobStatusResult`. 
   
   **Additional context**
   


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