Josh Rosen created SPARK-28176:
----------------------------------

             Summary: Add Dataset.collect(PartialFunction) method for parity 
with RDD API
                 Key: SPARK-28176
                 URL: https://issues.apache.org/jira/browse/SPARK-28176
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.0.0
            Reporter: Josh Rosen


RDDs have a {{collect(PartialFunction)}} method which behaves like the 
equivalent Scala collections methodĀ (seeĀ 
[https://github.com/apache/spark/commit/f4e6b9361ffeec1018d5834f09db9fd86f2ba7bd]).

It would be nice if Datasets had a similar method (to ease migration of RDD 
code to Datasets).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to