GitHub user yhuai opened a pull request:
https://github.com/apache/spark/pull/4689
[SPARK-5881][SQL] RDD remains cached after the table gets overridden by
"CACHE TABLE"
See JIRA for the example to reproduce the bug
(https://issues.apache.org/jira/browse/SPARK-5881).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yhuai/spark cacheFix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/4689.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 #4689
----
commit f1787be424697146e18a9adfb2330b35d4de8415
Author: Yin Huai <[email protected]>
Date: 2015-02-18T23:29:23Z
Add clear cache command.
commit 6cfd9df5bb88e744ddc232700679e0cb066a94ae
Author: Yin Huai <[email protected]>
Date: 2015-02-19T06:51:13Z
Python clearCache.
commit d41d68868fc0cc2057e0686344e02f92cb3e054e
Author: Yin Huai <[email protected]>
Date: 2015-02-19T06:51:25Z
When register a table as a temporary table, if there is an existing table
that is cached and has a different query plan, uncache the existing table.
----
---
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]