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

Reply via email to