spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Owen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-17347) Encoder in Dataset example has incorrect type
Date Thu, 01 Sep 2016 07:45:20 GMT

     [ 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


Mime
View raw message