Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-28176

Add Dataset.collect(PartialFunction) method for parity with RDD API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1.0
    • None
    • SQL
    • None

    Description

      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).

      Attachments

        Activity

          People

            Unassigned Unassigned
            joshrosen Josh Rosen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: