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 09:03:40 UTC
[jira] [Commented] (SPARK-13771) Eliminate child of project if the
project with no references to its child
[ https://issues.apache.org/jira/browse/SPARK-13771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15186715#comment-15186715 ]
Apache Spark commented on SPARK-13771:
--------------------------------------
User 'viirya' has created a pull request for this issue:
https://github.com/apache/spark/pull/11602
> Eliminate child of project if the project with no references to its child
> -------------------------------------------------------------------------
>
> Key: SPARK-13771
> URL: https://issues.apache.org/jira/browse/SPARK-13771
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Reporter: Liang-Chi Hsieh
> Priority: Minor
>
> This is a corner case that a Project node can have no references to its child. E.g.,
> {code}
> val input = LocalRelation('key.int, 'value.string)
> Project(Literal(1).as("1") :: Nil, input)
> {code}
> We can actually replace the input with a dummy OneRowRelation.
--
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