dark2momo commented on issue #5179: URL: https://github.com/apache/paimon/issues/5179#issuecomment-2699738722
My understanding of aggregation for partial update is as follows: aggregate the specified fields using the aggregate function (fields.<field-name>.aggregate-function) after reordering the rows based on the sequence-group field (fields.<field-name>.sequence-group). If the sequence-group field is NULL, discard the corresponding record. And, when the value of the sequence-group fields is equal to that of the preceding row, the corresponding field value to aggregate takes precedence over the previous one. A typical example of this behavior is the first_value function. Perhaps the documentation and test cases should be updated. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
