pan3793 commented on PR #6779:
URL: https://github.com/apache/kyuubi/pull/6779#issuecomment-2441077505

   @Madhukar525722 thanks for taking care of this feature, I leave the comments 
to add a configuration "kyuubi.session.preferGroup" previously, but I have a 
little different idea now.
   
   Now I would suggest having a "kyuubi.session.preferredGroups" (Seq[String]), 
when present, we select the most preferred group from the whole group list, 
otherwise, take the head, instead of failing fast. For the implementatio, we 
can use a custom `Comparator` to acheive that.
   
   > And I have worries about using the session conf will interference choosing 
the engine reference, as it's easy to be changed at runtime. Is there any 
better approach with solid connection variables?
   
   seems there is no much differences from the existing properties like 
`kyuubi.session.user`?


-- 
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: notifications-unsubscr...@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@kyuubi.apache.org
For additional commands, e-mail: notifications-h...@kyuubi.apache.org

Reply via email to