public boolean isSmartOptimize() {
    return CompactionType.SMART_OPTIMIZE == type;
  }
The highest write id that the compaction job will pay attention to.
{@code 0} means it wasn't set (e.g. in case of upgrades, since ResultSet.getLong() will return 0 if field is NULL)
See also {@link TxnUtils#createValidCompactWriteIdList(TableValidWriteIds)} and
{@link ValidCompactorWriteIdList#highWatermark}.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/entities/CompactionInfo.java