You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/09/01 07:45:20 UTC
[jira] [Updated] (SPARK-17347) Encoder in Dataset example has
incorrect type
[ https://issues.apache.org/jira/browse/SPARK-17347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen updated SPARK-17347:
------------------------------
Priority: Trivial (was: Minor)
Issue Type: Improvement (was: Bug)
From the PR it doesn't sound like the line has an incorrect type (it compiles) but that it's just superfluous.
> Encoder in Dataset example has incorrect type
> ---------------------------------------------
>
> Key: SPARK-17347
> URL: https://issues.apache.org/jira/browse/SPARK-17347
> Project: Spark
> Issue Type: Improvement
> Components: Examples
> Affects Versions: 2.0.0
> Reporter: Nan Zhu
> Priority: Trivial
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org