You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Josh Rosen (JIRA)" <ji...@apache.org> on 2019/06/26 20:57:00 UTC

[jira] [Created] (SPARK-28176) Add Dataset.collect(PartialFunction) method for parity with RDD API

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org