GitHub user wzhfy opened a pull request:
https://github.com/apache/spark/pull/20122
[Minor][TEST] remove redundant `EliminateSubqueryAliases` in test code
## What changes were proposed in this pull request?
The `analyze` method in `implicit class DslLogicalPlan` already includes
`EliminateSubqueryAliases`. So there's no need to call
`EliminateSubqueryAliases` again after calling `analyze` in some test code.
## How was this patch tested?
Existing tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wzhfy/spark redundant_code
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20122.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #20122
----
commit 79daa553640283823c9538a9ab5d08a1209d3b0a
Author: Zhenhua Wang <wzh_zju@...>
Date: 2017-12-30T07:32:17Z
remove redundant code
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]