{"action":"created","comment":{"url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/comments/84749743","pull_request_review_id":5507543,"id":84749743,"diff_hunk":"@@ -104,7 +104,7 @@ def help(self, line, cell=\"\", local_ns=None):\n   <tr>\n     <td>sql</td>\n     <td>%%sql -o tables -q<br/>SHOW TABLES</td>\n-    <td>Executes a SQL query against the sqlContext.\n+    <td>Executes a SQL query against the HiveContext(sqlContext) or SparkSession(spark).","path":"sparkmagic/sparkmagic/kernels/kernelmagics.py","position":5,"original_position":5,"commit_id":"f0e0af2ef6837baa00ea389e1dbb6b2f7b97bdd3","original_commit_id":"f0e0af2ef6837baa00ea389e1dbb6b2f7b97bdd3","user":{"login":"aggFTW","id":654204,"avatar_url":"https://avatars.githubusercontent.com/u/654204?v=3","gravatar_id":"","url":"https://api.github.com/users/aggFTW","html_url":"https://github.com/aggFTW","followers_url":"https://api.github.com/users/aggFTW/followers","following_url":"https://api.github.com/users/aggFTW/following{/other_user}","gists_url":"https://api.github.com/users/aggFTW/gists{/gist_id}","starred_url":"https://api.github.com/users/aggFTW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aggFTW/subscriptions","organizations_url":"https://api.github.com/users/aggFTW/orgs","repos_url":"https://api.github.com/users/aggFTW/repos","events_url":"https://api.github.com/users/aggFTW/events{/privacy}","received_events_url":"https://api.github.com/users/aggFTW/received_events","type":"User","site_admin":false},"body":"I would specify what possible names the context will have depending on which Spark version is being used.","created_at":"2016-10-24T18:17:49Z","updated_at":"2016-10-24T18:17:49Z","html_url":"https://github.com/jupyter-incubator/sparkmagic/pull/288#discussion_r84749743","pull_request_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/288","_links":{"self":{"href":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/comments/84749743"},"html":{"href":"https://github.com/jupyter-incubator/sparkmagic/pull/288#discussion_r84749743"},"pull_request":{"href":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/288"}}},"pull_request":{"url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/288","id":90664197,"html_url":"https://github.com/jupyter-incubator/sparkmagic/pull/288","diff_url":"https://github.com/jupyter-incubator/sparkmagic/pull/288.diff","patch_url":"https://github.com/jupyter-incubator/sparkmagic/pull/288.patch","issue_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/issues/288","number":288,"state":"open","locked":false,"title":"Remove sqlcontext creation and detect whether sqlcontext or sparksession exists","user":{"login":"jeffersonezra","id":9890150,"avatar_url":"https://avatars.githubusercontent.com/u/9890150?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffersonezra","html_url":"https://github.com/jeffersonezra","followers_url":"https://api.github.com/users/jeffersonezra/followers","following_url":"https://api.github.com/users/jeffersonezra/following{/other_user}","gists_url":"https://api.github.com/users/jeffersonezra/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffersonezra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffersonezra/subscriptions","organizations_url":"https://api.github.com/users/jeffersonezra/orgs","repos_url":"https://api.github.com/users/jeffersonezra/repos","events_url":"https://api.github.com/users/jeffersonezra/events{/privacy}","received_events_url":"https://api.github.com/users/jeffersonezra/received_events","type":"User","site_admin":false},"body":"Remove sqlcontext creation and detect whether sqlcontext or sparksession exists\r\nUpdate tests and add new tests\r\n","created_at":"2016-10-24T18:13:45Z","updated_at":"2016-10-24T18:36:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b58272778febf2e05eab7668c3cb4c289f34822","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/288/commits","review_comments_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/288/comments","review_comment_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/issues/288/comments","statuses_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/statuses/f0e0af2ef6837baa00ea389e1dbb6b2f7b97bdd3","head":{"label":"jeffersonezra:jeezraspark2jupytersamplenotebooks","ref":"jeezraspark2jupytersamplenotebooks","sha":"f0e0af2ef6837baa00ea389e1dbb6b2f7b97bdd3","user":{"login":"jeffersonezra","id":9890150,"avatar_url":"https://avatars.githubusercontent.com/u/9890150?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffersonezra","html_url":"https://github.com/jeffersonezra","followers_url":"https://api.github.com/users/jeffersonezra/followers","following_url":"https://api.github.com/users/jeffersonezra/following{/other_user}","gists_url":"https://api.github.com/users/jeffersonezra/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffersonezra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffersonezra/subscriptions","organizations_url":"https://api.github.com/users/jeffersonezra/orgs","repos_url":"https://api.github.com/users/jeffersonezra/repos","events_url":"https://api.github.com/users/jeffersonezra/events{/privacy}","received_events_url":"https://api.github.com/users/jeffersonezra/received_events","type":"User","site_admin":false},"repo":{"id":71294502,"name":"sparkmagic","full_name":"jeffersonezra/sparkmagic","owner":{"login":"jeffersonezra","id":9890150,"avatar_url":"https://avatars.githubusercontent.com/u/9890150?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffersonezra","html_url":"https://github.com/jeffersonezra","followers_url":"https://api.github.com/users/jeffersonezra/followers","following_url":"https://api.github.com/users/jeffersonezra/following{/other_user}","gists_url":"https://api.github.com/users/jeffersonezra/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffersonezra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffersonezra/subscriptions","organizations_url":"https://api.github.com/users/jeffersonezra/orgs","repos_url":"https://api.github.com/users/jeffersonezra/repos","events_url":"https://api.github.com/users/jeffersonezra/events{/privacy}","received_events_url":"https://api.github.com/users/jeffersonezra/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeffersonezra/sparkmagic","description":"Jupyter magics and kernels for working with remote Spark clusters","fork":true,"url":"https://api.github.com/repos/jeffersonezra/sparkmagic","forks_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/forks","keys_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/teams","hooks_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/hooks","issue_events_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/issues/events{/number}","events_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/events","assignees_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/assignees{/user}","branches_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/branches{/branch}","tags_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/tags","blobs_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/statuses/{sha}","languages_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/languages","stargazers_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/stargazers","contributors_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/contributors","subscribers_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/subscribers","subscription_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/subscription","commits_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/contents/{+path}","compare_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/merges","archive_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/downloads","issues_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/issues{/number}","pulls_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/pulls{/number}","milestones_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/milestones{/number}","notifications_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/labels{/name}","releases_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/releases{/id}","deployments_url":"https://api.github.com/repos/jeffersonezra/sparkmagic/deployments","created_at":"2016-10-18T21:51:29Z","updated_at":"2016-10-18T21:51:32Z","pushed_at":"2016-10-24T18:12:42Z","git_url":"git://github.com/jeffersonezra/sparkmagic.git","ssh_url":"git@github.com:jeffersonezra/sparkmagic.git","clone_url":"https://github.com/jeffersonezra/sparkmagic.git","svn_url":"https://github.com/jeffersonezra/sparkmagic","homepage":"","size":1285,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jupyter-incubator:master","ref":"master","sha":"a515e11b1b6f46c91a510307b447e0086b4b3275","user":{"login":"jupyter-incubator","id":14002361,"avatar_url":"https://avatars.githubusercontent.com/u/14002361?v=3","gravatar_id":"","url":"https://api.github.com/users/jupyter-incubator","html_url":"https://github.com/jupyter-incubator","followers_url":"https://api.github.com/users/jupyter-incubator/followers","following_url":"https://api.github.com/users/jupyter-incubator/following{/other_user}","gists_url":"https://api.github.com/users/jupyter-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/jupyter-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jupyter-incubator/subscriptions","organizations_url":"https://api.github.com/users/jupyter-incubator/orgs","repos_url":"https://api.github.com/users/jupyter-incubator/repos","events_url":"https://api.github.com/users/jupyter-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/jupyter-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":42875585,"name":"sparkmagic","full_name":"jupyter-incubator/sparkmagic","owner":{"login":"jupyter-incubator","id":14002361,"avatar_url":"https://avatars.githubusercontent.com/u/14002361?v=3","gravatar_id":"","url":"https://api.github.com/users/jupyter-incubator","html_url":"https://github.com/jupyter-incubator","followers_url":"https://api.github.com/users/jupyter-incubator/followers","following_url":"https://api.github.com/users/jupyter-incubator/following{/other_user}","gists_url":"https://api.github.com/users/jupyter-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/jupyter-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jupyter-incubator/subscriptions","organizations_url":"https://api.github.com/users/jupyter-incubator/orgs","repos_url":"https://api.github.com/users/jupyter-incubator/repos","events_url":"https://api.github.com/users/jupyter-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/jupyter-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jupyter-incubator/sparkmagic","description":"Jupyter magics and kernels for working with remote Spark clusters","fork":false,"url":"https://api.github.com/repos/jupyter-incubator/sparkmagic","forks_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/forks","keys_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/teams","hooks_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/hooks","issue_events_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/issues/events{/number}","events_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/events","assignees_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/assignees{/user}","branches_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/branches{/branch}","tags_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/tags","blobs_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/git/refs{/sha}","trees_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/statuses/{sha}","languages_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/languages","stargazers_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/stargazers","contributors_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/contributors","subscribers_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/subscribers","subscription_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/subscription","commits_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/commits{/sha}","git_commits_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/git/commits{/sha}","comments_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/comments{/number}","issue_comment_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/issues/comments{/number}","contents_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/contents/{+path}","compare_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/merges","archive_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/downloads","issues_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/issues{/number}","pulls_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls{/number}","milestones_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/milestones{/number}","notifications_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/labels{/name}","releases_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/releases{/id}","deployments_url":"https://api.github.com/repos/jupyter-incubator/sparkmagic/deployments","created_at":"2015-09-21T15:35:25Z","updated_at":"2016-10-23T14:32:14Z","pushed_at":"2016-10-24T18:13:45Z","git_url":"git://github.com/jupyter-incubator/sparkmagic.git","ssh_url":"git@github.com:jupyter-incubator/sparkmagic.git","clone_url":"https://github.com/jupyter-incubator/sparkmagic.git","svn_url":"https://github.com/jupyter-incubator/sparkmagic","homepage":"","size":1491,"stargazers_count":98,"watchers_count":98,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":21,"mirror_url":null,"open_issues_count":14,"forks":21,"open_issues":14,"watchers":98,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/288"},"html":{"href":"https://github.com/jupyter-incubator/sparkmagic/pull/288"},"issue":{"href":"https://api.github.com/repos/jupyter-incubator/sparkmagic/issues/288"},"comments":{"href":"https://api.github.com/repos/jupyter-incubator/sparkmagic/issues/288/comments"},"review_comments":{"href":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/288/comments"},"review_comment":{"href":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jupyter-incubator/sparkmagic/pulls/288/commits"},"statuses":{"href":"https://api.github.com/repos/jupyter-incubator/sparkmagic/statuses/f0e0af2ef6837baa00ea389e1dbb6b2f7b97bdd3"}}}}
{"actor":{"display_login":"aggFTW"}}