Skip to content

Commit

Permalink
[fix] Fix error in FlinkSink for changelog files merge (#4415)
Browse files Browse the repository at this point in the history
This closes #4415.
  • Loading branch information
LsomeYeah authored Oct 31, 2024
1 parent 734a0dc commit 092ebe0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ public DataStream<Committable> doWrite(
declareManagedMemory(written, options.get(SINK_MANAGED_WRITER_BUFFER_MEMORY));
}

if (options.contains(CHANGELOG_PRECOMMIT_COMPACT)) {
if (options.get(CHANGELOG_PRECOMMIT_COMPACT)) {
written =
written.transform(
"Changelog Compact Coordinator",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ private void testLookupChangelogProducerRandom(
+ "'lookup-wait' = '%s', "
+ "'deletion-vectors.enabled' = '%s', "
+ "'changelog.precommit-compact' = '%s'",
random.nextBoolean() ? "512kb" : "1mb",
random.nextBoolean() ? "4mb" : "8mb",
random.nextBoolean(),
enableDeletionVectors,
random.nextBoolean()));
Expand Down

0 comments on commit 092ebe0

Please sign in to comment.