Xiao Li created SPARK-19722:
-------------------------------

             Summary: 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to