Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
wuchong merged 1 commit intoapache:release-0.9apache/fluss:release-0.9from
platinumhamburg:fix/aggregation-partial-update-0.9platinumhamburg/fluss:fix/aggregation-partial-update-0.9Copy head branch name to clipboard
Mar 19, 2026
Merged

[flink] Allow partial updates for AGGREGATION merge engine#2905
wuchong merged 1 commit intoapache:release-0.9apache/fluss:release-0.9from
platinumhamburg:fix/aggregation-partial-update-0.9platinumhamburg/fluss:fix/aggregation-partial-update-0.9Copy head branch name to clipboard

Conversation

@platinumhamburg
Copy link
Copy Markdown
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

Brief change log

Tests

API and Format

Documentation

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.
Copy link
Copy Markdown
Member

@wuchong wuchong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wuchong wuchong merged commit 42d5c0c into apache:release-0.9 Mar 19, 2026
6 checks passed
@wuchong wuchong linked an issue Mar 19, 2026 that may be closed by this pull request
2 tasks
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

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.