@Override
  public Warehouse getWh() {
    return wh;
  }
Check if user can access the table associated with the partition. If not, then throw exception
so user cannot access partitions associated with this table
We are not calling Pre event listener for authorization because it requires getting the
table object from DB, more overhead. Instead ,we call filter hook to filter out table if user
has no access. Filter hook only requires table name, not table object. That saves DB access for
table object, and still achieve the same purpose: checking if user can access the specified
table

@param catName catalog name of the table
@param dbName database name of the table
@param tblName table name
@throws NoSuchObjectException
@throws MetaException
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java