apache / apache/beam

TimestampCombiner.EARLIEST is not respected when elements are late.

Open
#18,271 0 comments 0 reactions 0 assignees View on GitHub
bug core P3 runners
Dominant language
Java
Stars
8.7k
Forks
4.7k
Avg merge
1d 20h
Merged PRs (30d)
196

Description

In ReduceFnRunner#onTrigger, because late elements don't set a hold, we do not output with the timestamp that would be expected by the TimestampCombiner.

Imported from Jira [BEAM-2262](https://issues.apache.org/jira/browse/BEAM-2262). Original Jira may contain additional context.
Reported by: tgroh.

Contributor guide

Open the contributing guide

Research direction

Start at ReduceFnRunner#onTrigger and trace how late elements are handled when TimestampCombiner.EARLIEST is configured. Compare the emitted timestamp with the combiner's expected timestamp and add coverage for this late-element path. Done means late elements produce output with the timestamp required by TimestampCombiner.EARLIEST.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
stream-processing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.