Github user kiszk commented on a diff in the pull request: https://github.com/apache/spark/pull/22219#discussion_r212857783 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala --- @@ -3237,6 +3237,20 @@ class Dataset[T] private[sql]( files.toSet.toArray } + def collectCountAndIterator(): (Long, Iterator[T]) = --- End diff -- Yeah, we need to consider the decision carefully. At least, if we would decide it as public, is it better to add `@experimental`?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org