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

Apache Spark commented on SPARK-19722:
--------------------------------------

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

> Clean up the usage of EliminateSubqueryAliases
> ----------------------------------------------
>
>                 Key: SPARK-19722
>                 URL: https://issues.apache.org/jira/browse/SPARK-19722
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Xiao Li
>            Assignee: Xiao Li
>            Priority: Minor
>
> In the PR https://github.com/apache/spark/pull/11403, we introduced the 
> function `canonicalized` for eliminating useless subqueries. We can simply 
> replace the call of rule `EliminateSubqueryAliases` by the function 
> `canonicalized`.   
> After we changed the view resolution and management, the current reason why 
> we keep `EliminateSubqueryAliases ` in optimizer becomes out-of-dated. Thus, 
> we also should update the reason to `eager analysis of Dataset`. 



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

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

Reply via email to