spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kent Yao (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-22224) Override toString of KeyValueGroupedDataset & RelationalGroupedDataset
Date Mon, 09 Oct 2017 08:57:00 GMT
Kent Yao created SPARK-22224:
--------------------------------

             Summary: Override toString of KeyValueGroupedDataset & RelationalGroupedDataset

                 Key: SPARK-22224
                 URL: https://issues.apache.org/jira/browse/SPARK-22224
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.2.0
            Reporter: Kent Yao
            Priority: Minor



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




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message