You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sagara Paranagama (JIRA)" <ji...@apache.org> on 2017/07/01 15:33:02 UTC

[jira] [Commented] (SPARK-15533) Deprecate Dataset.explode

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

Sagara Paranagama commented on SPARK-15533:
-------------------------------------------

But what if my dataframe contained over 50 columns? In my case, I'm dealing with a Hive table which has a lot of columns. Is there a way to explode the one column in my dataframe without referring to all the other columns? Also, I'm exploding using a custom lambda function, not with Spark built-in ones.

> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org