Guosmilesmile commented on code in PR #15458:
URL: https://github.com/apache/iceberg/pull/15458#discussion_r2890488965


##########
flink/v2.1/flink/src/main/java/org/apache/iceberg/flink/maintenance/operator/LockRemoverOperator.java:
##########
@@ -105,8 +105,11 @@ public void processElement(StreamRecord<TaskResult> 
streamRecord) {
 
   @Override
   public void processWatermark(Watermark mark) throws Exception {
-    operatorEventGateway.sendEventToCoordinator(
-        new LockReleaseEvent(tableName, mark.getTimestamp()));
+    if (!Watermark.MAX_WATERMARK.equals(mark)) {

Review Comment:
   I think they’re pretty similar; I changed it to compare using timestamps.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to