Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.18.0
-
None
-
None
-
Due to the Watermark calculation method :
public void onPeriodicEmit(WatermarkOutput output) { output.emitWatermark(new Watermark(maxTs - delayTime - 1L)); }
data that was delayed by 1 millisecond in this method was incorrectly determined
private boolean isLate(long timestamp) { long currentWatermark = internalTimerService.currentWatermark(); return timestamp < currentWatermark; }
Due to the Watermark calculation method : public void onPeriodicEmit(WatermarkOutput output) { output.emitWatermark( new Watermark(maxTs - delayTime - 1L)); } data that was delayed by 1 millisecond in this method was incorrectly determined private boolean isLate( long timestamp) { long currentWatermark = internalTimerService.currentWatermark(); return timestamp < currentWatermark; }
Description
package:
org.apache.flink.streaming.api.operators.co;
class: IntervalJoinOperator
method:
isLate
When data with a 1-millisecond delay enters the judgment, an incorrect value will be returned
private boolean isLate(long timestamp) { long currentWatermark = internalTimerService.currentWatermark(); return timestamp < currentWatermark; }
Attachments
Issue Links
- links to