{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/5714","labels_url":"https://api.github.com/repos/apache/spark/issues/5714/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/5714/comments","events_url":"https://api.github.com/repos/apache/spark/issues/5714/events","html_url":"https://github.com/apache/spark/pull/5714","id":71206344,"number":5714,"title":"[SPARK-7158] [SQL] Fix bug of cached data cannot be used in collect() after cache()","user":{"login":"chenghao-intel","id":2367031,"avatar_url":"https://avatars.githubusercontent.com/u/2367031?v=3","gravatar_id":"","url":"https://api.github.com/users/chenghao-intel","html_url":"https://github.com/chenghao-intel","followers_url":"https://api.github.com/users/chenghao-intel/followers","following_url":"https://api.github.com/users/chenghao-intel/following{/other_user}","gists_url":"https://api.github.com/users/chenghao-intel/gists{/gist_id}","starred_url":"https://api.github.com/users/chenghao-intel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenghao-intel/subscriptions","organizations_url":"https://api.github.com/users/chenghao-intel/orgs","repos_url":"https://api.github.com/users/chenghao-intel/repos","events_url":"https://api.github.com/users/chenghao-intel/events{/privacy}","received_events_url":"https://api.github.com/users/chenghao-intel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":66,"created_at":"2015-04-27T07:41:12Z","updated_at":"2015-06-08T13:29:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/5714","html_url":"https://github.com/apache/spark/pull/5714","diff_url":"https://github.com/apache/spark/pull/5714.diff","patch_url":"https://github.com/apache/spark/pull/5714.patch"},"body":"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.\r\n\r\nReplace the lazy variable with method will fix this bug."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/109996028","html_url":"https://github.com/apache/spark/pull/5714#issuecomment-109996028","issue_url":"https://api.github.com/repos/apache/spark/issues/5714","id":109996028,"user":{"login":"chenghao-intel","id":2367031,"avatar_url":"https://avatars.githubusercontent.com/u/2367031?v=3","gravatar_id":"","url":"https://api.github.com/users/chenghao-intel","html_url":"https://github.com/chenghao-intel","followers_url":"https://api.github.com/users/chenghao-intel/followers","following_url":"https://api.github.com/users/chenghao-intel/following{/other_user}","gists_url":"https://api.github.com/users/chenghao-intel/gists{/gist_id}","starred_url":"https://api.github.com/users/chenghao-intel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenghao-intel/subscriptions","organizations_url":"https://api.github.com/users/chenghao-intel/orgs","repos_url":"https://api.github.com/users/chenghao-intel/repos","events_url":"https://api.github.com/users/chenghao-intel/events{/privacy}","received_events_url":"https://api.github.com/users/chenghao-intel/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T13:29:30Z","updated_at":"2015-06-08T13:29:30Z","body":"retest this please."}}