[ https://issues.apache.org/jira/browse/SPARK-22152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16183989#comment-16183989 ]
Wenchen Fan commented on SPARK-22152: ------------------------------------- if RDD has flatten, I'm ok to add it to Dataset. > 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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org