@Override
  public Map<String, String> partitionNameToSpec(String name) throws TException {
    return client.partition_name_to_spec(name);
  }
Check if the current user has access to a given database and table name. Throw
NoSuchObjectException if user has no access. When the db or table is filtered out, we don't need
to even fetch the partitions. Therefore this check ensures table-level security and
could improve performance when filtering partitions.

@param catName the catalog name
@param dbName  the database name
@param tblName the table name contained in the database
@throws NoSuchObjectException if the database or table is filtered out
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java