apache/beam

OutputTimeFn maybe should be allowed to move elements back in time

Open

#18,119 opened on Jun 3, 2022

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Java (4,097 forks)batch import
P3bugcoregood first issuerunners

Repository metrics

Stars
 (7,313 stars)
PR merge metrics
 (Avg merge 6d) (243 merged PRs in 30d)

Description

EG in this flink failure

https://builds.apache.org/job/beam_PostCommit_Java_RunnableOnService_Flink/org.apache.beam$beam-runners-flink_2.10/1749/testReport/junit/org.apache.beam.sdk.transforms.windowing/WindowTest/testNoWindowFnDoesNotReassignWindows/

Caused by: java.lang.IllegalStateException: OutputTimeFn moved element from 1970-01-01T00:00:00.015Z to earlier time 1970-01-01T00:00:00.009Z for window [1970-01-01T00:00:00.005Z..1970-01-01T00:00:00.010Z)

Imported from Jira BEAM-1553. Original Jira may contain additional context. Reported by: tgroh.

Contributor guide