yuzelin opened a new pull request, #6213:
URL: https://github.com/apache/paimon/pull/6213
<!-- Please specify the module before the PR name: [core] ... or [flink] ...
-->
### Purpose
<!-- Linking this pull request to the issue -->
A brief case is:
```
CREATE TABLE test (a INT PRIMARY KEY NOT ENFORCED, b INT NOT NULL) WITH
('merge-engine' = 'aggregation', 'changelog-producer' = 'lookup');
INSERT INTO test VALUES (1, 1);
-- Then the upstream input -D(1, 1)
```
The problem is that default agg for b is last-non-null-value which produces
null when retracting.
<!-- What is the purpose of the change -->
### Tests
<!-- List UT and IT cases to verify this change -->
### API and Format
<!-- Does this change affect API or storage format -->
### Documentation
<!-- Does this change introduce a new feature -->
--
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]