GitHub user chenghao-intel opened a pull request:

    https://github.com/apache/spark/pull/5714

    [SPARK-7158] [SQL] Fix bug of cached data cannot be used in collect() after 
cache()

    When df.cache() method called, the `withCachedData` of `QueryExecution` has 
been created, which mean it will not look up the cached tables when action 
method called afterward.
    
    Replace the lazy variable with method will fix this bug.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/chenghao-intel/spark SPARK-7158

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/5714.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 #5714
    
----
commit e2c429829e0525b72eaf0d2879d735ab75072c43
Author: Cheng Hao <[email protected]>
Date:   2015-04-27T07:16:50Z

    fix bug of cached data isn't used afterward in DF

----


---
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]

Reply via email to