Aitozi commented on code in PR #7033:
URL: https://github.com/apache/paimon/pull/7033#discussion_r2694968759
##########
paimon-core/src/main/java/org/apache/paimon/table/source/splitread/IncrementalDiffSplitRead.java:
##########
@@ -213,9 +213,11 @@ public KeyValue getResult() {
} else if (kvs.size() == 2) {
KeyValue before = kvs.get(0);
KeyValue after = kvs.get(1);
- if (after.level() == AFTER_LEVEL) {
- if (!valueAndRowKindEquals(before, after)) {
+ if (!valueAndRowKindEquals(before, after)) {
+ if (after.level() == AFTER_LEVEL) {
Review Comment:
change to `return after.level() == AFTER_LEVEL ? after : before`?
--
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]