spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-20125) Dataset of type option of map does not work
Date Tue, 28 Mar 2017 08:25:41 GMT

    [ https://issues.apache.org/jira/browse/SPARK-20125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15944759#comment-15944759
] 

Apache Spark commented on SPARK-20125:
--------------------------------------

User 'cloud-fan' has created a pull request for this issue:
https://github.com/apache/spark/pull/17454

> Dataset of type option of map does not work
> -------------------------------------------
>
>                 Key: SPARK-20125
>                 URL: https://issues.apache.org/jira/browse/SPARK-20125
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.1.0, 2.2.0
>            Reporter: Wenchen Fan
>            Assignee: Wenchen Fan
>
> A simple reproduce:
> {code}
> case class ABC(m: Option[scala.collection.Map[Int, Int]])
> val ds = Seq(ABC(Some(Map(1 -> 1)))).toDS() 
> ds.collect()
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message