{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/12449","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/12449/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/12449/comments","events_url":"https://api.github.com/repos/apache/spark/issues/12449/events","html_url":"https://github.com/apache/spark/pull/12449","id":148901229,"number":12449,"title":"[SPARK-14674][SQL] Move HiveContext.hiveconf to HiveSessionState","user":{"login":"yhuai","id":2072857,"avatar_url":"https://avatars.githubusercontent.com/u/2072857?v=3","gravatar_id":"","url":"https://api.github.com/users/yhuai","html_url":"https://github.com/yhuai","followers_url":"https://api.github.com/users/yhuai/followers","following_url":"https://api.github.com/users/yhuai/following{/other_user}","gists_url":"https://api.github.com/users/yhuai/gists{/gist_id}","starred_url":"https://api.github.com/users/yhuai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yhuai/subscriptions","organizations_url":"https://api.github.com/users/yhuai/orgs","repos_url":"https://api.github.com/users/yhuai/repos","events_url":"https://api.github.com/users/yhuai/events{/privacy}","received_events_url":"https://api.github.com/users/yhuai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-04-16T23:13:55Z","updated_at":"2016-04-18T21:18:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/12449","html_url":"https://github.com/apache/spark/pull/12449","diff_url":"https://github.com/apache/spark/pull/12449.diff","patch_url":"https://github.com/apache/spark/pull/12449.patch"},"body":"## What changes were proposed in this pull request?\r\n\r\nThis is just cleanup. This allows us to remove HiveContext later without inflating the diff too much. This PR fixes the conflicts of https://github.com/apache/spark/pull/12431. It also removes the `def hiveConf` from `HiveSqlParser`. So, we will pass the HiveConf associated with a session explicitly instead of relying on Hive's `SessionState` to pass `HiveConf`.\r\n\r\n\r\n## How was this patch tested?\r\nExisting tests.\r\n\r\nCloses #12431"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/211583878","html_url":"https://github.com/apache/spark/pull/12449#issuecomment-211583878","issue_url":"https://api.github.com/repos/apache/spark/issues/12449","id":211583878,"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-04-18T21:18:41Z","updated_at":"2016-04-18T21:18:41Z","body":"**[Test build #56128 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/56128/consoleFull)** for PR 12449 at commit [`9fa1ff3`](https://github.com/apache/spark/commit/9fa1ff3df14e41e92cf6b5f8c53c8e6cb0145b39).\n * This patch passes all tests.\n * This patch merges cleanly.\n * This patch adds the following public classes _(experimental)_:\n  * `class HiveSqlParser(hiveConf: HiveConf) extends AbstractSqlParser `\n  * `class HiveSqlAstBuilder(hiveConf: HiveConf) extends SparkSqlAstBuilder `"}}