diff --git a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index a1826fa259d424c9f3d5a2f58a18f617355d586f..fcd0d44acd9caa2468422e1142ad35aa47c4121e 100644 --- a/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ b/standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -2506,8 +2506,11 @@ private HiveMetaHook getHook(Table tbl) throws MetaException { private void checkDbAndTableFilters(final String catName, final String dbName, final String tblName) throws NoSuchObjectException, MetaException { + // HIVE-20776 causes view access regression + // Therefore, do not do filtering here. Call following function only to check + // if dbName and tblName is valid FilterUtils.checkDbAndTableFilters( - isClientFilterEnabled, filterHook, catName, dbName, tblName); + false, filterHook, catName, dbName, tblName); } @Override