You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2016/03/09 19:30:41 UTC

[jira] [Resolved] (SPARK-13763) Remove Project when its projectList is Empty

     [ https://issues.apache.org/jira/browse/SPARK-13763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Armbrust resolved SPARK-13763.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 11599
[https://github.com/apache/spark/pull/11599]

> Remove Project when its projectList is Empty
> --------------------------------------------
>
>                 Key: SPARK-13763
>                 URL: https://issues.apache.org/jira/browse/SPARK-13763
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>            Reporter: Xiao Li
>             Fix For: 2.0.0
>
>
> We are using 'SELECT 1' as a dummy table, when the table is used for SQL statements in which a table reference is required, but the contents of the table are not important. For example, 
> {code}
> SELECT pageid, adid FROM (SELECT 1) dummyTable LATERAL VIEW explode(adid_list) adTable AS adid;
> {code}
> In this case, we will see a useless Project whose projectList is empty after executing ColumnPruning rule. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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