GitHub user westonpace added a comment to the discussion: Should ExecutionPlan 
spawn tasks in `execute` function

This may just be a failure in my ability to read the manual.  I now see this in 
the 
[docs](https://docs.rs/datafusion/latest/datafusion/physical_plan/trait.ExecutionPlan.html#tymethod.execute):

> Most ExecutionPlans should not do any work before the first RecordBatch is 
> requested from the stream.

That would seem to suggest that spawning background threads in `execute` is a 
bad idea.

GitHub link: 
https://github.com/apache/datafusion/discussions/15691#discussioncomment-12809942

----
This is an automatically sent email for github@datafusion.apache.org.
To unsubscribe, please send an email to: 
github-unsubscr...@datafusion.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to