You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/03/09 05:25:40 UTC
[jira] [Commented] (SPARK-13763) Remove Project when its
projectList is Empty
[ https://issues.apache.org/jira/browse/SPARK-13763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15186479#comment-15186479 ]
Apache Spark commented on SPARK-13763:
--------------------------------------
User 'gatorsmile' has created a pull request for this issue:
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
>
> 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