Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-19722] [SQL] [MINOR] Clean up the usage of EliminateSubqueryAliases #17050

Closed
wants to merge 2 commits into from

Conversation

gatorsmile
Copy link
Member

What changes were proposed in this pull request?

In the PR #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, this PR also update the reason to eager analysis of Dataset.

How was this patch tested?

N/A

@SparkQA
Copy link

SparkQA commented Feb 24, 2017

Test build #73397 has finished for PR 17050 at commit 3cde705.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@gatorsmile gatorsmile closed this Apr 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants