When establishing HiveSession, it ends up configuring session variables/settings.
As part of it, it ends up checking the database details. https://github.com/apache/hive/blob/master/service/src/java/org/apache/hive/service/cli/session/HiveSessionImpl.java#L314
Even if it is `default` DB, it ends up making this check. In corner cases, these calls turn out to be expensive.
We can just skip this check if its `DEFAULT_DATABASE_NAME` (default) DB. This may not be an issue for CachedStore.