Skip to content

Commit

Permalink
[cdc] Avoid duplicate schema file generation (#4220)
Browse files Browse the repository at this point in the history
  • Loading branch information
codeTai committed Sep 19, 2024
1 parent 12d6db5 commit 626b320
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,10 @@ protected FileStoreTable alterTableOptions(Identifier identifier, FileStoreTable
|| Objects.equals(
oldOptions.get(entry.getKey()), entry.getValue()));

if (dynamicOptions.isEmpty()) {
return table;
}

// alter the table dynamic options
List<SchemaChange> optionChanges =
dynamicOptions.entrySet().stream()
Expand Down

0 comments on commit 626b320

Please sign in to comment.