Skip to content

[core] Fix initRow in AggregateMergeFunction and PartialUpdateMergeFunction to set all fields including nullable ones#7645

Merged
leaves12138 merged 2 commits intoapache:masterfrom
lxy-9602:agg-delete
Apr 15, 2026
Merged

[core] Fix initRow in AggregateMergeFunction and PartialUpdateMergeFunction to set all fields including nullable ones#7645
leaves12138 merged 2 commits intoapache:masterfrom
lxy-9602:agg-delete

Conversation

@lxy-9602
Copy link
Copy Markdown
Contributor

Purpose

Fix initRow in AggregateMergeFunction and PartialUpdateMergeFunction to always call setField for all fields, including nullable ones. Previously, nullable fields were skipped during initRow, which could cause inconsistent aggregation results when delete records contain null values in nullable columns.

Tests

AggregateMergeFunctionTest
PartialUpdateMergeFunctionTest

Copy link
Copy Markdown
Contributor

@leaves12138 leaves12138 left a comment

Choose a reason for hiding this comment

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

+1

@leaves12138 leaves12138 merged commit a45be9f into apache:master Apr 15, 2026
12 checks passed
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.

2 participants