RjLi13 commented on code in PR #15670:
URL: https://github.com/apache/iceberg/pull/15670#discussion_r3016780324
##########
spark/v4.1/spark/src/main/java/org/apache/iceberg/spark/source/AsyncSparkMicroBatchPlanner.java:
##########
@@ -490,12 +490,25 @@ private void fillQueueInitialBuffer(Snapshot
startSnapshot) {
}
}
+ private Snapshot initialPreloadEndSnapshot() {
+ if (lastOffsetForTriggerAvailableNow != null) {
+ return table().snapshot(lastOffsetForTriggerAvailableNow.snapshotId());
+ }
+
+ return table().currentSnapshot();
+ }
+
+ static boolean reachedAvailableNowCap(
Review Comment:
Thank you! Great to learn about this annotation, will apply.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]