The GitHub Actions job "Flink CI (beta)" on flink.git/master has failed.
Run started by GitHub user MartijnVisser (triggered by MartijnVisser).

Head commit for run:
7a76f129672193aa170ba18c25090f8586fc54e4 / Bonnie Varghese 
<[email protected]>
[FLINK-40883][table] Fix accumulator corruption in 
NonTimeRowsUnboundedPrecedingFunction (#29373)

- processRemainingElements and reAccumulateIdsAndEmitUpdates stored
  aggFuncs.getValue() into accMapState instead of
  aggFuncs.getAccumulators(), and emitted the raw stored accumulator as
  the "before" value. For aggregates whose accumulator differs from their
  result (e.g. LAST_VALUE with retraction), a recalculation after an
  out-of-order insert or a delete wrote a result-shaped row into the
  accumulator state, which fails on RocksDB when it is serialized
  (ArrayIndexOutOfBoundsException in RowDataSerializer).
- Compare accumulator to accumulator for the early-out check, derive the
  before/after values via setAccumulatorAndGetValue(), and store the
  accumulator in accMapState, matching
  NonTimeRangeUnboundedPrecedingFunction.
- When the early-out fires on the delete path, skip processing of the
  following sort keys.

Generated-by: Claude Code (Claude Opus 5.5)

Report URL: https://github.com/apache/flink/actions/runs/37679811709

With regards,
GitHub Actions via GitBox

Reply via email to