[
https://issues.apache.org/jira/browse/SPARK-12068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Armbrust resolved SPARK-12068.
--------------------------------------
Resolution: Fixed
Fix Version/s: 1.6.0
Issue resolved by pull request 10059
[https://github.com/apache/spark/pull/10059]
> use a single column in Dataset.groupBy and count will fail
> ----------------------------------------------------------
>
> Key: SPARK-12068
> URL: https://issues.apache.org/jira/browse/SPARK-12068
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Wenchen Fan
> Fix For: 1.6.0
>
>
> {code}
> val ds = Seq("a" -> 1, "b" -> 1, "a" -> 2).toDS()
> val count = ds.groupBy($"_1").count()
> count.collect() // will fail
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]