{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/12877","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/12877/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/12877/comments","events_url":"https://api.github.com/repos/apache/spark/issues/12877/events","html_url":"https://github.com/apache/spark/pull/12877","id":152869876,"number":12877,"title":"[SPARK-15097][SQL] make Dataset.sqlContext a stable identifier for imports","user":{"login":"koertkuipers","id":821284,"avatar_url":"https://avatars.githubusercontent.com/u/821284?v=3","gravatar_id":"","url":"https://api.github.com/users/koertkuipers","html_url":"https://github.com/koertkuipers","followers_url":"https://api.github.com/users/koertkuipers/followers","following_url":"https://api.github.com/users/koertkuipers/following{/other_user}","gists_url":"https://api.github.com/users/koertkuipers/gists{/gist_id}","starred_url":"https://api.github.com/users/koertkuipers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koertkuipers/subscriptions","organizations_url":"https://api.github.com/users/koertkuipers/orgs","repos_url":"https://api.github.com/users/koertkuipers/repos","events_url":"https://api.github.com/users/koertkuipers/events{/privacy}","received_events_url":"https://api.github.com/users/koertkuipers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-05-03T20:44:04Z","updated_at":"2016-05-03T22:17:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/12877","html_url":"https://github.com/apache/spark/pull/12877","diff_url":"https://github.com/apache/spark/pull/12877.diff","patch_url":"https://github.com/apache/spark/pull/12877.patch"},"body":"## What changes were proposed in this pull request?\r\nMake Dataset.sqlContext a lazy val so that its a stable identifier and can be used for imports.\r\nNow this works again:\r\nimport someDataset.sqlContext.implicits._\r\n\r\n## How was this patch tested?\r\nAdd unit test to DatasetSuite that uses the import show above.\r\n"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/216681554","html_url":"https://github.com/apache/spark/pull/12877#issuecomment-216681554","issue_url":"https://api.github.com/repos/apache/spark/issues/12877","id":216681554,"user":{"login":"SparkQA","id":8108735,"avatar_url":"https://avatars.githubusercontent.com/u/8108735?v=3","gravatar_id":"","url":"https://api.github.com/users/SparkQA","html_url":"https://github.com/SparkQA","followers_url":"https://api.github.com/users/SparkQA/followers","following_url":"https://api.github.com/users/SparkQA/following{/other_user}","gists_url":"https://api.github.com/users/SparkQA/gists{/gist_id}","starred_url":"https://api.github.com/users/SparkQA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SparkQA/subscriptions","organizations_url":"https://api.github.com/users/SparkQA/orgs","repos_url":"https://api.github.com/users/SparkQA/repos","events_url":"https://api.github.com/users/SparkQA/events{/privacy}","received_events_url":"https://api.github.com/users/SparkQA/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T22:17:39Z","updated_at":"2016-05-03T22:17:39Z","body":"**[Test build #57679 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57679/consoleFull)** for PR 12877 at commit [`1672ed7`](https://github.com/apache/spark/commit/1672ed76abe6798b529ef560de2d8105f8f26d38)."}}