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

    https://github.com/apache/spark/pull/13642#discussion_r78615382
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/execution/metric/SQLMetricsSuite.scala
 ---
    @@ -17,48 +17,18 @@
     
     package org.apache.spark.sql.execution.metric
     
    -import java.io.{ByteArrayInputStream, ByteArrayOutputStream}
    -
    -import scala.collection.mutable
    -
    -import org.apache.xbean.asm5._
    -import org.apache.xbean.asm5.Opcodes._
    -
     import org.apache.spark.SparkFunSuite
     import org.apache.spark.sql._
     import org.apache.spark.sql.execution.SparkPlanInfo
     import org.apache.spark.sql.execution.ui.SparkPlanGraph
     import org.apache.spark.sql.functions._
     import org.apache.spark.sql.internal.SQLConf
     import org.apache.spark.sql.test.SharedSQLContext
    -import org.apache.spark.util.{AccumulatorContext, JsonProtocol, Utils}
    -
    +import org.apache.spark.util.{AccumulatorContext, JsonProtocol}
     
     class SQLMetricsSuite extends SparkFunSuite with SharedSQLContext {
       import testImplicits._
     
    -  test("SQLMetric should not box Long") {
    --- End diff --
    
    > This wouldn't happen without breaking the new API,
    
    Agreed. SQLMetric is not a public API, we may add new stuff. My point is 
that we don't need to delete a working test that does test some behavior we 
want to maintain. Anyway, this seems unlikely broken in future so I agree that 
not need to add it back.


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