@Deprecated
  default boolean getPartitionsByExpr(String catName, String dbName, String tblName,
       byte[] expr, String defaultPartitionName, short maxParts, List<Partition> result)
       throws TException {
    return getPartitionsByExpr(catName, dbName, tblName, result, new GetPartitionsArgs
        .GetPartitionsArgsBuilder()
        .expr(expr).defaultPartName(defaultPartitionName).max(maxParts)
        .build());
  }
Get partitions using an already parsed expression.
@param catName catalog name.
@param dbName database name
@param tblName table name
@param expr an already parsed Hive expression
@param defaultPartitionName default name of a partition
@param maxParts maximum number of partitions to return, or -1 for all
@param result list to place resulting partitions in
@return true if the result contains unknown partitions.
@throws TException error executing the expression
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java