[
https://issues.apache.org/jira/browse/SPARK-22152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16183996#comment-16183996
]
Sean Owen commented on SPARK-22152:
-----------------------------------
(It does not have a flatten method. I was suggesting it makes sense to add it
to both or neither, but not sure how much it adds)
> Add Dataset flatten function
> ----------------------------
>
> Key: SPARK-22152
> URL: https://issues.apache.org/jira/browse/SPARK-22152
> Project: Spark
> Issue Type: New Feature
> Components: SQL
> Affects Versions: 2.2.0
> Reporter: Drew Robb
> Priority: Minor
>
> Currently you can use an identify flatMap to flatten a Dataset, for example
> to get from a Dataset[Option[T]] to a Dataset[T], but adding flatten directly
> would allow for a more similar API to scala collections.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]