private boolean updateConfigInternal(Map<String, String> properties) {
    TableConfiguration newTableConfig = TableConfigurations.parseTableConfig(properties);
    if (tableConfiguration.equals(newTableConfig)) {
      return false;
    }
    if (!Objects.equals(
        this.optimizerGroup, newTableConfig.getOptimizingConfig().getOptimizerGroup())) {
      if (optimizingProcess != null) {
        optimizingProcess.close();
      }
      this.optimizerGroup = newTableConfig.getOptimizingConfig().getOptimizerGroup();
    }
    this.tableConfiguration = newTableConfig;
    return true;
  }
Refresh snapshots for table.

@param table - table
@return refreshed snapshotId
amoro-ams/src/main/java/org/apache/amoro/server/table/DefaultOptimizingState.java