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

Override toString of KeyValueGroupedDataset & RelationalGroupedDataset

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0
    • Component/s: SQL
    • Labels:
      None

      Description

      scala> val words = spark.read.textFile("README.md").flatMap(_.split(" "))
      words: org.apache.spark.sql.Dataset[String] = [value: string]

      scala> val grouped = words.groupByKey(identity)
      grouped: org.apache.spark.sql.KeyValueGroupedDataset[String,String] = org.apache.spark.sql.KeyValueGroupedDataset@65214862

        Attachments

          Activity

            People

            • Assignee:
              Qin Yao Kent Yao
              Reporter:
              Qin Yao Kent Yao
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: