houlinchn commented on PR #11274: URL: https://github.com/apache/paimon/pull/11274#issuecomment-7041782723
Thanks for the repro, @JingsongLi. I reproduced `240` with the same three commits. I updated `getResult()` so the retraction-only buffer keeps `-90` internally and writes `DELETE(90)`. The next merge then subtracts `90` as intended. I added a table-level regression test that checks the amount after the second and third commits. It reads `0` after the two retractions and `60` after the `+U(60)` update. The test passes with `changelog-producer` set to `none`, `input`, and `lookup`. I also tried all 16 ways to split those five records across commits. Every split produced `60` with each changelog producer. Could you take another look at 14d9f6fb02? -- 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]
