Github user hhbyyh commented on the issue: https://github.com/apache/spark/pull/19565 Let me know if I missed anything, but I don't quite catch the part > all the batches have the same length IMO `docs.sample(withReplacement = sampleWithReplacement, miniBatchFraction, randomGenerator.nextLong())` does not return the same number of documents during multiple function calls.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org