Skip to content

Commit

Permalink
[flink] change env.fromData to fromElements for compatibility with fl…
Browse files Browse the repository at this point in the history
…ink 1.18 and lower version
  • Loading branch information
LsomeYeah committed Nov 18, 2024
1 parent 203db41 commit 03753cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ public void processElement2(StreamRecord<String> element) {
});

if (deletedInLocal.get() != 0) {
deleted = deleted.union(env.fromData(deletedInLocal.get()));
deleted = deleted.union(env.fromElements(deletedInLocal.get()));
}
return deleted;
}
Expand Down

0 comments on commit 03753cf

Please sign in to comment.