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

    https://github.com/apache/spark/pull/10835#discussion_r50789720
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/AccumulableInfo.scala ---
    @@ -22,44 +22,32 @@ import org.apache.spark.annotation.DeveloperApi
     /**
      * :: DeveloperApi ::
      * Information about an [[org.apache.spark.Accumulable]] modified during a 
task or stage.
    + *
    + * Note: once this is JSON serialized the types of `update` and `value` 
will be lost and be
    + * cast to strings. This is because the user can define an accumulator of 
any type and it will
    + * be difficult to preserve the type in consumers of the event log. This 
does not apply to
    + * internal accumulators that represent task level metrics.
    + *
    + * @param id accumulator ID
    + * @param name accumulator name
    + * @param update partial value from a task, may be None if used on driver 
to describe a stage
    + * @param value total accumulated value so far, maybe None if used on 
executors to describe a task
    + * @param internal whether this accumulator was internal
    + * @param countFailedValues whether to count this accumulator's partial 
value if the task failed
      */
     @DeveloperApi
    -class AccumulableInfo private[spark] (
    -    val id: Long,
    -    val name: String,
    -    val update: Option[String], // represents a partial update within a 
task
    -    val value: String,
    -    val internal: Boolean) {
    -
    -  override def equals(other: Any): Boolean = other match {
    -    case acc: AccumulableInfo =>
    -      this.id == acc.id && this.name == acc.name &&
    -        this.update == acc.update && this.value == acc.value &&
    -        this.internal == acc.internal
    -    case _ => false
    +case class AccumulableInfo private[spark] (
    --- End diff --
    
    Yeah, too bad.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to