public static boolean isCompactionTxn(TxnType txnType) {
    return TxnType.COMPACTION.equals(txnType) || TxnType.REBALANCE_COMPACTION.equals(txnType);
  }
Generate list of lower case column names from the fieldSchema list
@param cols fieldSchema list
@return column name list
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java