{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/13544","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/13544/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/13544/comments","events_url":"https://api.github.com/repos/apache/spark/issues/13544/events","html_url":"https://github.com/apache/spark/pull/13544","id":158962649,"number":13544,"title":"[SPARK-15805][SQL][Documents] update sql programming guide for spark 2.0 including all scala/java/python code in the guide","user":{"login":"WeichenXu123","id":19235986,"avatar_url":"https://avatars.githubusercontent.com/u/19235986?v=3","gravatar_id":"","url":"https://api.github.com/users/WeichenXu123","html_url":"https://github.com/WeichenXu123","followers_url":"https://api.github.com/users/WeichenXu123/followers","following_url":"https://api.github.com/users/WeichenXu123/following{/other_user}","gists_url":"https://api.github.com/users/WeichenXu123/gists{/gist_id}","starred_url":"https://api.github.com/users/WeichenXu123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeichenXu123/subscriptions","organizations_url":"https://api.github.com/users/WeichenXu123/orgs","repos_url":"https://api.github.com/users/WeichenXu123/repos","events_url":"https://api.github.com/users/WeichenXu123/events{/privacy}","received_events_url":"https://api.github.com/users/WeichenXu123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-06-07T16:06:23Z","updated_at":"2016-06-11T02:33:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/13544","html_url":"https://github.com/apache/spark/pull/13544","diff_url":"https://github.com/apache/spark/pull/13544.diff","patch_url":"https://github.com/apache/spark/pull/13544.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nUpdate the whole sql programming guide doc file , including:\r\nupdate doc with `SparkSession` instead of `SQLContext`\r\nupdate doc with `SparkSession.builder.enableHiveSupport` instead of `HiveContext`\r\nupdate doc with `dataFrame.write.saveAsTable` instead of `dataFrame.saveAsTable`\r\nupdate doc with `SparkSession.catalog.cacheTable/uncacheTable` instead of `SQLContext.cacheTable/uncacheTable`\r\nupdate doc with `dataFrame.createOrReplaceTempView` instead of `dataFrame.registerTempTable`\r\nupdate doc with `SparkSession.config` instead of `SQLContext.setConf`\r\nupdate doc with `SparkSession.catalog.refreshTable` instead of `SQLContext.refreshTable`\r\n\r\nand so on...\r\n\r\n## How was this patch tested?\r\n\r\nN/A"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/225332122","html_url":"https://github.com/apache/spark/pull/13544#issuecomment-225332122","issue_url":"https://api.github.com/repos/apache/spark/issues/13544","id":225332122,"user":{"login":"WeichenXu123","id":19235986,"avatar_url":"https://avatars.githubusercontent.com/u/19235986?v=3","gravatar_id":"","url":"https://api.github.com/users/WeichenXu123","html_url":"https://github.com/WeichenXu123","followers_url":"https://api.github.com/users/WeichenXu123/followers","following_url":"https://api.github.com/users/WeichenXu123/following{/other_user}","gists_url":"https://api.github.com/users/WeichenXu123/gists{/gist_id}","starred_url":"https://api.github.com/users/WeichenXu123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WeichenXu123/subscriptions","organizations_url":"https://api.github.com/users/WeichenXu123/orgs","repos_url":"https://api.github.com/users/WeichenXu123/repos","events_url":"https://api.github.com/users/WeichenXu123/events{/privacy}","received_events_url":"https://api.github.com/users/WeichenXu123/received_events","type":"User","site_admin":false},"created_at":"2016-06-11T02:33:20Z","updated_at":"2016-06-11T02:33:20Z","body":"@liancheng OK, no problem !"}}
{"actor":{"display_login":"WeichenXu123"}}