danny0405 commented on code in PR #9680:
URL: https://github.com/apache/hudi/pull/9680#discussion_r1325225910
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/utils/Pipelines.java:
##########
@@ -81,8 +81,8 @@
*/
public class Pipelines {
- // The map of operator uids, avoiding duplicate caused by the same operator
- private static ConcurrentHashMap<String,ArrayList<String>> operatorUidMap =
new ConcurrentHashMap<>();
+ // The counter of operators, avoiding duplicate uids caused by the same
operator
+ private static ConcurrentHashMap<String,Integer> operatorCounter = new
ConcurrentHashMap<>();
Review Comment:
make it static final.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]