pan3793 commented on issue #4814:
URL: https://github.com/apache/kyuubi/issues/4814#issuecomment-3864416416
a simple approach:
```patch
object AtlasClient {
...
- def getClient(): AtlasClient = {
+ def getClient(): (AtlasClient, Boolean) = {
...
}
```
Add an additional flag in the return value to indicate whether the caller
should close it `AtlasClient` after using it.
--
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]