spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-13721) Add support for LATERAL VIEW OUTER explode()
Date Thu, 16 Feb 2017 15:06:41 GMT

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

Apache Spark commented on SPARK-13721:
--------------------------------------

User 'rxin' has created a pull request for this issue:
https://github.com/apache/spark/pull/16958

> Add support for LATERAL VIEW OUTER explode()
> --------------------------------------------
>
>                 Key: SPARK-13721
>                 URL: https://issues.apache.org/jira/browse/SPARK-13721
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Ian Hellstrom
>            Assignee: Bogdan Raducanu
>             Fix For: 2.2.0
>
>
> Hive supports the [LATERAL VIEW OUTER|https://cwiki.apache.org/confluence/display/Hive/LanguageManual+LateralView#LanguageManualLateralView-OuterLateralViews]
syntax to make sure that when an array is empty, the content from the outer table is still
returned. 
> Within Spark, this is currently only possible within the HiveContext and executing HiveQL
statements. It would be nice if the standard explode() DataFrame method allows the same. A
possible signature would be: 
> {code:scala}
> explode[A, B](inputColumn: String, outputColumn: String, outer: Boolean = false)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message