public static IMetaStoreClient getMetaStoreClient(HiveMetastoreClientWrapper client)
            throws NoSuchFieldException, IllegalAccessException {
        Field clientField = HiveMetastoreClientWrapper.class.getDeclaredField("client");
        clientField.setAccessible(true);
        return (IMetaStoreClient) clientField.get(client);
    }
get hive metastore client

@param client hive metastore client
@return hive metastore client
inlong-sort/sort-flink/sort-flink-v1.13/sort-connectors/hive/src/main/java/org/apache/inlong/sort/hive/util/HiveTableUtil.java