-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[core] Support default aggregate function for partial update and aggregate merge function #3374
[core] Support default aggregate function for partial update and aggregate merge function #3374
Conversation
See https://paimon.apache.org/docs/master/primary-key-table/merge-engine/#sequence-group So we introduce sequence group mechanism for partial-update tables. It can solve:
True partial-update, means null can update column. |
b10a9f4
to
eba13c4
Compare
@JingsongLi As we discussed, I add |
paimon-core/src/main/java/org/apache/paimon/mergetree/compact/PartialUpdateMergeFunction.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1,after adding this, users can avoid manually configuring agg
functions one by one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
…egate merge function (apache#3374)
…egate merge function (apache#3374)
Fix update null value for partial update with sequence-group
Purpose
Linked issue: close #3373
Tests
API and Format
no
Documentation
no