[
https://issues.apache.org/jira/browse/SPARK-17347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15453216#comment-15453216
]
Apache Spark commented on SPARK-17347:
--------------------------------------
User 'CodingCat' has created a pull request for this issue:
https://github.com/apache/spark/pull/14901
> Encoder in Dataset example is incorrect on type
> -----------------------------------------------
>
> Key: SPARK-17347
> URL: https://issues.apache.org/jira/browse/SPARK-17347
> Project: Spark
> Issue Type: Bug
> Components: Examples
> Affects Versions: 2.0.0
> Reporter: Nan Zhu
> Priority: Minor
>
> https://github.com/apache/spark/blob/master/examples/src/main/scala/org/apache/spark/examples/sql/SparkSQLExample.scala#L206
> The type of this alternative encoder shall be Encoder[Map[String, Any]]
> instead of Encoder[Map[String, Int]]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]