GitHub user ueshin opened a pull request:
https://github.com/apache/spark/pull/13668
[SPARK-15915][SQL] Logical plans should use subqueries eliminated plan when
override sameResult.
## What changes were proposed in this pull request?
This pr is a backport of #13638 for `branch-1.6`.
## How was this patch tested?
Added the same test as #13638 modified for `branch-1.6`.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ueshin/apache-spark issues/SPARK-15915_1.6
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13668.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 #13668
----
commit 9a1621afceb439c942cde63b40ee3a1041037f86
Author: Takuya UESHIN <[email protected]>
Date: 2016-06-14T18:42:45Z
Add a test to check if DataFrame with plan overriding sameResult but not
using subqueries eliminated plan to compare can cacheTable.
commit e51774f1eb73ddcb820619addd8be18894bba5e6
Author: Takuya UESHIN <[email protected]>
Date: 2016-06-14T18:52:04Z
Use subqueries eliminated plan to compare.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]