Github user tedyu commented on the pull request: https://github.com/apache/spark/pull/11066#issuecomment-180603069 From HiveContext.scala , line 552 (the last line below): ``` * 1. create a new SessionState for each HiveContext * 2. when the Hive session is first initialized, params in HiveConf will get picked up by the * SQLConf. Additionally, any properties set by set() or a SET command inside sql() will be * set in the SQLConf *as well as* in the HiveConf. */ @transient protected[hive] lazy val hiveconf: HiveConf = { val c = executionHive.conf ``` If I read the doc correctly, the above call is supposed to create new SessionState which is what the PR is doing.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org