PyRSA opened a new pull request, #8719: URL: https://github.com/apache/paimon/pull/8719
### Purpose This PR aligns the Python `FieldSumAgg` implementation with the Java implementation. The changes include: - Support aggregation and retraction for all numeric types. - Add overflow checks for integral types (`TINYINT`, `SMALLINT`, `INT`, `BIGINT`). - Support `DECIMAL` aggregation with precision and scale handling. - Add comprehensive unit tests covering normal and overflow cases. ### Dependency **This PR depends on #8718**, which introduces the Python `Decimal` implementation and the numeric boundary constants used for overflow checking. ### Tests - `python -m pytest pypaimon/tests/test_field_aggregators.py::FieldSumAggTest -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` -- 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]
