Github user viirya commented on the issue:

    https://github.com/apache/spark/pull/16677
  
    @waterman But we need to know the number of output in each partition. 
`resultSize` is actually updated at driver with the size of data transmitted 
back to the driver. 
    
    It is doable if we use a collection accumulator for collecting number of 
output. However, as we submit map stage with `submitMapStage`, it is more 
natural to get the `MapOutputStatistics` back from the future object returned.
    
    For the API change, as they are private, I think it should not a big issue.



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to