[
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: [email protected]
For additional commands, e-mail: [email protected]