@Deprecated
  default List<Partition> listPartitionsPsWithAuth(String catName, String db_name, String tbl_name,
      List<String> part_vals, short max_parts, String userName, List<String> groupNames)
      throws MetaException, InvalidObjectException, NoSuchObjectException {
    return listPartitionsPsWithAuth(catName, db_name, tbl_name, new GetPartitionsArgs
        .GetPartitionsArgsBuilder()
        .part_vals(part_vals).max(max_parts).userName(userName).groupNames(groupNames)
        .build());
  }
Lists partitions that match a given partial specification and sets their auth privileges.
  If userName and groupNames null, then no auth privileges are set.
@param catName catalog name.
@param db_name
         The name of the database which has the partitions
@param tbl_name
         The name of the table which has the partitions
@param part_vals
         A partial list of values for partitions in order of the table's partition keys
         Entries can be empty if you need to specify latter partitions.
@param max_parts
         The maximum number of partitions to return
@param userName
         The user name for the partition for authentication privileges
@param groupNames
         The groupNames for the partition for authentication privileges
@return A list of partitions that match the partial spec.
@throws MetaException error access RDBMS
@throws NoSuchObjectException No such table exists
@throws InvalidObjectException error access privilege information
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java