-
- Downloads
[SPARK-20260][MLLIB] String interpolation required for error message
## What changes were proposed in this pull request? This error message doesn't get properly formatted because of a missing `s`. Currently the error looks like: ``` Caused by: java.lang.IllegalArgumentException: requirement failed: indices should be one-based and in ascending order; found current=$current, previous=$previous; line="$line" ``` (note the literal `$current` instead of the interpolated value) Please review http://spark.apache.org/contributing.html before opening a pull request. Author: Vijay Ramesh <vramesh@demandbase.com> Closes #17572 from vijaykramesh/master.
Showing
- core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala 1 addition, 1 deletion.../main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala
- mllib-local/src/test/scala/org/apache/spark/ml/util/TestingUtils.scala 1 addition, 1 deletion...rc/test/scala/org/apache/spark/ml/util/TestingUtils.scala
- mllib/src/main/scala/org/apache/spark/mllib/clustering/PowerIterationClustering.scala 2 additions, 2 deletions...che/spark/mllib/clustering/PowerIterationClustering.scala
- mllib/src/main/scala/org/apache/spark/mllib/tree/model/DecisionTreeModel.scala 1 addition, 1 deletion...org/apache/spark/mllib/tree/model/DecisionTreeModel.scala
- mllib/src/main/scala/org/apache/spark/mllib/util/MLUtils.scala 1 addition, 1 deletion.../src/main/scala/org/apache/spark/mllib/util/MLUtils.scala
- mllib/src/test/scala/org/apache/spark/mllib/util/TestingUtils.scala 1 addition, 1 deletion...test/scala/org/apache/spark/mllib/util/TestingUtils.scala
- sql/hive/src/test/scala/org/apache/spark/sql/hive/orc/OrcQuerySuite.scala 3 additions, 3 deletions...t/scala/org/apache/spark/sql/hive/orc/OrcQuerySuite.scala
Loading
Please register or sign in to comment