You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "yuzelin (via GitHub)" <gi...@apache.org> on 2023/07/07 10:27:42 UTC

[GitHub] [incubator-paimon] yuzelin commented on a diff in pull request #1517: [core] compacted_full should never return null

yuzelin commented on code in PR #1517:
URL: https://github.com/apache/incubator-paimon/pull/1517#discussion_r1255612395


##########
paimon-core/src/main/java/org/apache/paimon/table/source/snapshot/CompactedStartingScanner.java:
##########
@@ -53,6 +54,6 @@ public Result scan(SnapshotManager snapshotManager, SnapshotReader snapshotReade
 
     @Nullable

Review Comment:
   remove annotation.



##########
paimon-core/src/main/java/org/apache/paimon/table/source/snapshot/FullCompactedStartingScanner.java:
##########
@@ -40,7 +40,7 @@ public FullCompactedStartingScanner(int deltaCommits) {
     @Override
     @Nullable
     protected Long pick(SnapshotManager snapshotManager) {
-        return snapshotManager.pickFromLatest(this::picked);
+        return snapshotManager.pickOrLatest(this::picked);

Review Comment:
   remove annotation.



-- 
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: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org