apache / datafusion-ballista

Apache DataFusion Ballista Distributed Query Engine
https://datafusion.apache.org/ballista
Apache License 2.0
1.46k stars 185 forks source link

[Improve] refactor the offer_reservation avoid wait result #760

Closed Ted-Jiang closed 1 year ago

Ted-Jiang commented 1 year ago

Which issue does this PR close?

Closes #759 .

Rationale for this change

  1. spawn a thread to launch task in parallel, no need use 'joinHandler' wait result back,
  2. extract some method make it more clearly.

What changes are included in this PR?

Are there any user-facing changes?

Ted-Jiang commented 1 year ago

I will merge this one, If anyone have problem i will be happy to fix it.