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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1.0
    • Fix Version/s: None
    • Component/s: SQL
    • Labels:
      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

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

              Dates

              • Created:
                Updated: