public static String getThreadIdFromId(String id) {
    if (id == null) {
      return NO_VAL;
    }
    return id.substring(id.lastIndexOf('-') + 1);
  }
Get no_auto_compact property by checking in both lower and upper cases
@param parameters
@return true/false if set, null if there is no NO_AUTO_COMPACT set in database level config,
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java