dengzhhu653 commented on PR #4444: URL: https://github.com/apache/hive/pull/4444#issuecomment-1772179978
@okumin, > their plugin is integrated with Hive via the primitive interface, IMetaStoreClient That's right, there plugin client is wrapped by cache and session client, example: ``` IMetaStoreClient client = new SessionHiveMetaStoreClient(new RetryingMetastoreClient(new HiveMetaStoreClient(....))); ``` We can put the user client under the SessionHiveMetaStoreClient, e.g, new SessionHiveMetaStoreClient(new CatalogMetaClient(...)) In SessionHiveMetaStoreClient we need to change the call `super.create_table(request)` to `delegate.create_table(request)`, that I think that it's worthful and wouldn't introduce too much complexity. -- 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: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org