[
https://issues.apache.org/jira/browse/SPARK-13771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Liang-Chi Hsieh resolved SPARK-13771.
-------------------------------------
Resolution: Won't Fix
> 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: [email protected]
For additional commands, e-mail: [email protected]