public static boolean isTableSoftDeleteEnabled(Table table, HiveConf conf) {
    boolean isSoftDelete = HiveConf.getBoolVar(conf, ConfVars.HIVE_ACID_CREATE_TABLE_USE_SUFFIX)
      || HiveConf.getBoolVar(conf, ConfVars.HIVE_ACID_LOCKLESS_READS_ENABLED);
    return isSoftDelete && AcidUtils.isTransactionalTable(table)
      && Boolean.parseBoolean(table.getProperty(SOFT_DELETE_TABLE));
  }
Since Hive 4.0, compactor produces directories with {@link #VISIBILITY_PATTERN} suffix.
_v0 is equivalent to no suffix, for backwards compatibility.
ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java