[python] Introduce 'nested_update' aggregator function#8577
Conversation
|
Good catch, thanks! I've fixed |
|
|
…impl # Conflicts: # paimon-python/pypaimon/common/options/core_options.py # paimon-python/pypaimon/read/reader/aggregate/aggregators.py # paimon-python/pypaimon/tests/test_field_aggregators.py
Thanks for pointing this out. Instead of accessing fields directly through |
|
+1 |
|
Please resolve conflicts. |
Resolved the merge conflicts and updated the branch. Thanks! |
Purpose
Introduce the
nested_updatefield aggregator for pypaimon.This change adds support for the
nested_updateaggregation function in the Python reader, aligning its behavior with the Java implementation. It supports nested-key based updates, optional sequence-field based conflict resolution, configurable nested-key null handling, and count limiting.Dependency
This PR depends on #8561 and reuses several shared utility methods introduced there. Please review and merge #8561 first.
Tests
python -m pytest pypaimon/tests/test_field_aggregators.py::FieldNestedUpdateAggTest -qgit diff --check