[ https://issues.apache.org/jira/browse/SPARK-15533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16069741#comment-16069741 ]
Sagara Paranagama commented on SPARK-15533: ------------------------------------------- Let's say I have a Dataframe with the following schema [id: String, arr: Array[String]], with example values like "myID", ["value1", "value2"] and I want to explode it to obtain the following schema [id: String, val: String] with the following values "myID", "value1" "myID", "value2" Is this possible when Dataset.explode is deprecated? When using function.explode with select, I lose the rest of my Dataframe columns. > Deprecate Dataset.explode > ------------------------- > > Key: SPARK-15533 > URL: https://issues.apache.org/jira/browse/SPARK-15533 > Project: Spark > Issue Type: Sub-task > Components: SQL > Reporter: Reynold Xin > Assignee: Sameer Agarwal > Fix For: 2.0.0 > > > See discussion on the mailing list: > http://mail-archives.apache.org/mod_mbox/spark-user/201605.mbox/browser > We should deprecate Dataset.explode, and point users to Dataset.flatMap and > functions.explode with select. -- 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