You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nan Zhu (JIRA)" <ji...@apache.org> on 2016/08/31 20:00:24 UTC

[jira] [Created] (SPARK-17347) Encoder in Dataset example is incorrect on type

Nan Zhu created SPARK-17347:
-------------------------------

             Summary: 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org