public static boolean hasUnknownPartitions(PartitionsSpecByExprResult r) {
    return !r.isSetHasUnknownPartitions() || r.isHasUnknownPartitions();
  }
Get order specs from a represented string.
@param order specified in partColIndex[,partColIndex]*:[-|\+]+ pattern
@return the order specs
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java