@Override
    public HivePolicyProvider getHivePolicyProvider() throws HiveAuthzPluginException {
      return new TestHivePolicyProvider();
    }
Test restricted information schema with privilege synchronization
itests/hive-unit/src/test/java/org/apache/hive/service/server/InformationSchemaWithPrivilegeTestBase.java