Github user cloud-fan commented on a diff in the pull request: https://github.com/apache/spark/pull/21333#discussion_r196521913 --- Diff: core/src/test/scala/org/apache/spark/rdd/RDDSuite.scala --- @@ -154,6 +154,13 @@ class RDDSuite extends SparkFunSuite with SharedSparkContext { } } + test("SPARK-23778: empty RDD in union should not produce a UnionRDD") { --- End diff -- can we add a test? just make sure we are safe when `UnionRDD.rdds` is Nil
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org