public static boolean isCompactionTable(Map<String, String> parameters) {
    return StringUtils.isNotBlank(parameters.get(COMPACTOR_TABLE_PROPERTY));
  }
Determine if a table is used during query based compaction.
@param parameters table properties map
@return true, if the parameters contains {@link AcidUtils#COMPACTOR_TABLE_PROPERTY}
ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java