JingsongLi commented on PR #11321: URL: https://github.com/apache/paimon/pull/11321#issuecomment-7094047785
The arithmetic exception reproduces on the base revision. All 137 targeted Core tests pass on this branch. I also tested the public write, compaction, and read path of a primary-key aggregation table using `DECIMAL(6,1)`. - Key 1 received `2.5` and `0.3`. Key 2 received `2.6` and `0.3`. - A full compaction stored `0.8` for both keys. Deleting the `0.3` contribution from each key should leave `2.5` and `2.6`. - This branch read back `2.7` for both keys. The base revision surfaced the non-terminating division error for the same committed data. The two histories have identical accumulators and retracting values, so changing division rounding cannot recover the remaining contribution. I’m closing this rounding-only change because it produces incorrect table results on valid input. A fix should preserve the information needed for retraction through compaction, or explicitly define and enforce which decimal product retractions are supported. -- 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]
