[ https://issues.apache.org/jira/browse/HIVE-27473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17938157#comment-17938157 ]
Seonggon Namgung commented on HIVE-27473: ----------------------------------------- [~okumin] , I wrote a sample code in the following [link|https://github.com/ngsg/hive/tree/HIVE-27473]. While the code is incomplete and not fully organized, I check that it is compilable and passes some of the tests. It would be appreciated if you could take a look it and share your thoughts. Thank you. > Make SessionHiveMetaStoreClient and HiveMetaStoreClientWithLocalCache > composable > -------------------------------------------------------------------------------- > > Key: HIVE-27473 > URL: https://issues.apache.org/jira/browse/HIVE-27473 > Project: Hive > Issue Type: Improvement > Components: Hive > Affects Versions: 4.0.0-alpha-2 > Reporter: Shohei Okumiya > Assignee: Shohei Okumiya > Priority: Major > > Currently, we implement the two classes using inheritance. It assumes we > always use a single implementation of IMetaStoreClient. > Some community members have been willing to make IMetaStoreClient pluggable > as proposed in HIVE-12679. Considering the use case, we should provide the > additional traits with composition over inheritance. -- This message was sent by Atlassian Jira (v8.20.10#820010)