Skip to content

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

Open
lxy-9602 wants to merge 2 commits intoapache:masterfrom
lxy-9602:agg-delete
Open

[core] Fix initRow in AggregateMergeFunction and PartialUpdateMergeFunction to set all fields including nullable ones#7645
lxy-9602 wants to merge 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

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.

1 participant