Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-25036][SQL][FOLLOW-UP] Avoid match may not be exhaustive in Sc…
…ala-2.12. ## What changes were proposed in this pull request? This is a follow-up pr of apache#22014 and apache#22039 We still have some more compilation errors in mllib with scala-2.12 with sbt: ``` [error] [warn] /home/ishizaki/Spark/PR/scala212/spark/mllib/src/main/scala/org/apache/spark/ml/evaluation/ClusteringEvaluator.scala:116: match may not be exhaustive. [error] It would fail on the following inputs: ("silhouette", _), (_, "cosine"), (_, "squaredEuclidean"), (_, String()), (_, _) [error] [warn] ($(metricName), $(distanceMeasure)) match { [error] [warn] ``` ## How was this patch tested? Existing UTs Closes apache#22058 from kiszk/SPARK-25036c. Authored-by: Kazuaki Ishizaki <[email protected]> Signed-off-by: Sean Owen <[email protected]>
- Loading branch information