Github user yhuai commented on a diff in the pull request:
https://github.com/apache/spark/pull/9911#discussion_r46475735
--- Diff:
sql/hive-thriftserver/src/main/scala/org/apache/spark/sql/hive/thriftserver/SparkSQLCLIService.scala
---
@@ -70,6 +70,77 @@ private[hive] class SparkSQLCLIService(hiveServer:
HiveServer2, hiveContext: Hiv
case _ => super.getInfo(sessionHandle, getInfoType)
}
}
+
+ private def withMetadataHive[T](sessionHandle: SessionHandle)(f: => T):
T = {
+ val sessionConf =
sparkSqlSessionManager.getSession(sessionHandle).getHiveConf
--- End diff --
In our own session manager, do we maintain a map from session handle to
hive conf for metadata hive? Right now, the HiveSession associated with a
session handle stores hive conf of the execution hive.
Also, how does set command work?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]