Skip to content

[python] Introduce merge_map aggregator function#8727

Open
PyRSA wants to merge 5 commits into
apache:masterfrom
PyRSA:feature/pypaimon-merge-map-agg-impl
Open

[python] Introduce merge_map aggregator function#8727
PyRSA wants to merge 5 commits into
apache:masterfrom
PyRSA:feature/pypaimon-merge-map-agg-impl

Conversation

@PyRSA

@PyRSA PyRSA commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Purpose

This PR introduces the Python FieldMergeMapAgg implementation and aligns the Python merge_map aggregation behavior with the Java implementation.

The changes include:

  • Implement FieldMergeMapAgg in Python.
  • Support map merge and retract operations.
  • Add unit tests.

Tests

  • python -m pytest pypaimon/tests/test_field_aggregators.py::FieldMergeMapAggTest -q
  • python -m pytest pypaimon/tests/test_aggregation_e2e.py -q
  • python -m pytest pypaimon/tests/test_aggregation_merge_function.py -q
  • git diff --check

@JingsongLi

Copy link
Copy Markdown
Contributor

+1

@JingsongLi

Copy link
Copy Markdown
Contributor

Test failed

@PyRSA

PyRSA commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

Test failed

The failure appears to be unrelated to this PR. It is caused by a transient dependency download failure in the paimon-jindo module. I'll wait for CI to be rerun.

GET request of: com/aliyun/jindodata/jindo-core/6.9.1/jindo-core-6.9.1.jar from jindodata failed: Read timed out 

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.

2 participants