turboFei commented on code in PR #2647:
URL: https://github.com/apache/incubator-kyuubi/pull/2647#discussion_r874324140
##########
kyuubi-server/src/main/scala/org/apache/kyuubi/session/KyuubiSession.scala:
##########
@@ -29,6 +31,17 @@ abstract class KyuubiSession(
sessionManager: KyuubiSessionManager)
extends AbstractSession(protocol, user, password, ipAddress, conf,
sessionManager) {
- def getSessionEvent: Option[KyuubiSessionEvent]
+ private[kyuubi] lazy val optimizedConf: Map[String, String] = {
+ val confOverlay = sessionManager.sessionConfAdvisor.getConfOverlay(
Review Comment:
> The interface of sessionConf is flexible, user can inject any configs by
theirself and catch it inside plugin. So we can leave it as is.
Agree with that.
The sessionConfAdvisor should be developed by kyuubi admin and they can
inject some reserved key words for the sessionConfAdvisor.
We can add some comments in the interface.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]