Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/19454#discussion_r143612478 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala --- @@ -2543,6 +2543,14 @@ class Dataset[T] private[sql]( mapPartitions(_.flatMap(func)) /** + * Returns a new Dataset by by flattening a traversable collection into a collection itself. + * --- End diff -- (and `by by` -> by` I guess)
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org