Skip to content

[flink] Allow partial updates for AGGREGATION merge engine#2888

Open
platinumhamburg wants to merge 1 commit intoapache:mainfrom
platinumhamburg:fix/aggregation-partial-update
Open

[flink] Allow partial updates for AGGREGATION merge engine#2888
platinumhamburg wants to merge 1 commit intoapache:mainfrom
platinumhamburg:fix/aggregation-partial-update

Conversation

@platinumhamburg
Copy link
Contributor

The connector-side validation in FlinkTableSink.getSinkRuntimeProvider() was rejecting partial updates for ALL merge engines (mergeEngineType != null), but the server-side AggregateRowMerger fully supports partial updates via PartialAggregateRowMerger. Narrow the check to only block FIRST_ROW and VERSIONED engines which genuinely do not support partial updates.

Add IT case for partial update on aggregation merge engine.

Purpose

Linked issue: close #2887 2887

Brief change log

Tests

API and Format

Documentation

@platinumhamburg platinumhamburg force-pushed the fix/aggregation-partial-update branch from e2ba86e to f34e240 Compare March 17, 2026 03:42
The connector-side validation in FlinkTableSink.getSinkRuntimeProvider()
was rejecting partial updates for ALL merge engines (mergeEngineType != null),
but the server-side AggregateRowMerger fully supports partial updates via
PartialAggregateRowMerger. Narrow the check to only block FIRST_ROW and
VERSIONED engines which genuinely do not support partial updates.

Add IT case for partial update on aggregation merge engine.
@platinumhamburg platinumhamburg force-pushed the fix/aggregation-partial-update branch from f34e240 to 1a941e3 Compare March 17, 2026 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[flink] Allow partial updates for AGGREGATION merge engine

1 participant