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

    https://github.com/apache/spark/pull/3422#discussion_r29995992
  
    --- Diff: 
core/src/main/scala/org/apache/spark/util/collection/ExternalSorter.scala ---
    @@ -748,6 +759,12 @@ private[spark] class ExternalSorter[K, V, C](
     
         context.taskMetrics.memoryBytesSpilled += memoryBytesSpilled
         context.taskMetrics.diskBytesSpilled += diskBytesSpilled
    +    context.taskMetrics.shuffleWriteMetrics.filter(_ => 
bypassMergeSort).foreach { m =>
    --- End diff --
    
    Lies :stuck_out_tongue_winking_eye:
    
    I don't think I've ever written a `.filter(_ => ...` though I will admit 
guilt for merging all but one instance in the codebase...


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