alamb opened a new pull request, #27907:
URL: https://github.com/apache/datafusion/pull/27907

   ## Which issue does this PR close?
   
   - N/A (small internal cleanup)
   
   ## Rationale for this change
   
   `RepartitionExec` keeps an `Arc<Vec<SpawnedTask<()>>>` whose last drop 
aborts the running producer tasks. The same value had a different name in each 
place it was used (`abort_helper`, `drop_helper`, `_drop_helper`), which made 
it harder to follow through the code.
   
   ## What changes are included in this PR?
   
   Rename every use of that handle in 
`datafusion/physical-plan/src/repartition/mod.rs` to `producer_tasks` 
(`_producer_tasks` for the field on `PerPartitionStream`, which is held only to 
keep the tasks alive), and update the doc comment on the 
`ConsumingInputStreamsState` field to say what dropping it does.
   
   No functional change.
   
   ## What is the testing strategy for this PR?
   
   Pure rename of private fields and local variables, covered by existing tests.
   
   ## Are there any user-facing changes?
   
   No. All renamed items are private. The `Debug` output of the private 
`ConsumingInputStreamsState` now prints the field as `producer_tasks` instead 
of `abort_helper`.


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