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

    https://github.com/apache/spark/pull/21758#discussion_r203739055
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/TaskDescription.scala ---
    @@ -50,6 +50,7 @@ private[spark] class TaskDescription(
         val executorId: String,
         val name: String,
         val index: Int,    // Index within this task's TaskSet
    +    val partitionId: Int,
    --- End diff --
    
    Actually you are right on this, but that makes the logic a little more 
difficult to understand, so I prefer to use `partitionId` explicitly.


---

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

Reply via email to