Skip to content

Commit

Permalink
optimize code
Browse files Browse the repository at this point in the history
  • Loading branch information
mcy committed Jan 17, 2025
1 parent f9c3736 commit 7c54426
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,21 +135,21 @@ public SinkWriter<SeaTunnelRow, MultiTableCommitInfo, MultiTableState> restoreWr
} else {
if (state.isEmpty()) {
writers.put(
SinkIdentifier.of(tableIdentifier, index),
SinkIdentifier.of(tablePath.toString(), index),
new MultiTableTtlWriter(
writers,
tableIdentifier,
tablePath.toString(),
index,
replicaNum,
sink,
context,
multiTableWriterTtl));
} else {
writers.put(
SinkIdentifier.of(tableIdentifier, index),
SinkIdentifier.of(tablePath.toString(), index),
new MultiTableTtlWriter(
writers,
tableIdentifier,
tablePath.toString(),
index,
replicaNum,
sink,
Expand Down

0 comments on commit 7c54426

Please sign in to comment.