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

    https://github.com/apache/spark/pull/20319#discussion_r183565892
  
    --- Diff: 
mllib/src/test/scala/org/apache/spark/ml/clustering/BisectingKMeansSuite.scala 
---
    @@ -20,13 +20,14 @@ package org.apache.spark.ml.clustering
     import org.apache.spark.{SparkException, SparkFunSuite}
     import org.apache.spark.ml.linalg.{Vector, Vectors}
     import org.apache.spark.ml.param.ParamMap
    -import org.apache.spark.ml.util.{DefaultReadWriteTest, MLTestingUtils}
    +import org.apache.spark.ml.util.{DefaultReadWriteTest, MLTest, 
MLTestingUtils}
     import org.apache.spark.mllib.clustering.DistanceMeasure
     import org.apache.spark.mllib.util.MLlibTestSparkContext
     import org.apache.spark.sql.Dataset
     
    -class BisectingKMeansSuite
    -  extends SparkFunSuite with MLlibTestSparkContext with 
DefaultReadWriteTest {
    +class BisectingKMeansSuite extends MLTest with DefaultReadWriteTest {
    +
    +  import Encoders._
    --- End diff --
    
    ```import testImplicits._``` instead


---

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

Reply via email to