PyRSA opened a new pull request, #11163: URL: https://github.com/apache/paimon/pull/11163
### Purpose Allow users of `nested_update` to control whether an incoming nested ROW overwrites the accumulated ROW when their sequence values are equal. * Add the field-level boolean option `fields.<field-name>.nested-sequence-overwrite-on-equal`, defaulting to `true` to preserve existing behavior. When set to `false`, an incoming ROW overwrites the accumulated ROW only if its sequence is strictly greater. * Apply the option through the Java aggregator factory and the PyPaimon Python implementation. * Require `nested-sequence-field` when this option is explicitly configured. * Keep existing sequence ordering, multi-field lexicographical comparison, and null handling unchanged. Without `nested-sequence-field`, nested ROWs continue to be overwritten unconditionally. ### Tests * Java: Cover omitted/true/false settings, equal/greater/less sequence values, and option dependency validation. * Cover STRING sequence fields, multi-field sequences, NULLS FIRST behavior, and interaction with `count-limit`. * Python: Add equivalent coverage to verify behavior consistent with Java. ### API and Format No Changes. ### Documentation `docs/docs/primary-key-table/merge-engine/aggregation.mdx` -- 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]
