Github user srowen commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21913#discussion_r207578729
  
    --- Diff: core/src/main/scala/org/apache/spark/util/ThreadUtils.scala ---
    @@ -254,4 +258,58 @@ private[spark] object ThreadUtils {
           executor.shutdownNow()
         }
       }
    +
    +  /**
    +   * Transforms input collection by applying the given function to each 
element in parallel fashion.
    --- End diff --
    
    I'd still include a note in these docs about what this does differently 
from `.par`. Just a sentence about it being interruptible.


---

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

Reply via email to