Github user viirya commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22219#discussion_r212856674
  
    --- 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 --
    
    We can always make it public later if there is such requirement. We should 
be careful to add public api.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to