Github user sethah commented on a diff in the pull request: https://github.com/apache/spark/pull/20632#discussion_r170410905 --- Diff: mllib/src/test/scala/org/apache/spark/mllib/tree/DecisionTreeSuite.scala --- @@ -541,7 +541,7 @@ object DecisionTreeSuite extends SparkFunSuite { Array[LabeledPoint] = { val arr = new Array[LabeledPoint](3000) for (i <- 0 until 3000) { - if (i < 1000) { + if (i < 1001) { --- End diff -- this is the type of thing that will puzzle someone down the line. I'm ok with it, though. :stuck_out_tongue_closed_eyes:
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org