public void deleteTableIdentifier(TableIdentifier tableIdentifier) {
      doAs(
          TableMetaMapper.class,
          mapper ->
              mapper.deleteTableIdByName(
                  tableIdentifier.getCatalog(),
                  tableIdentifier.getDatabase(),
                  tableIdentifier.getTableName()));
    }
Test synchronization in the anomaly scenario where the tableIdentifier is remained in
persistence and the tableRuntime is remained in memory but iceberg table does not exist.
amoro-ams/src/test/java/org/apache/amoro/server/table/TestSyncTableOfExternalCatalog.java