hililiwei commented on code in PR #7362:
URL: https://github.com/apache/iceberg/pull/7362#discussion_r1191176781
##########
flink/v1.17/flink/src/main/java/org/apache/iceberg/flink/source/FlinkSplitPlanner.java:
##########
@@ -137,6 +121,60 @@ static CloseableIterable<CombinedScanTask> planTasks(
}
}
+ private static Long resolveToSnapshotId(Table table, ScanContext context) {
+ if (context.endTag() != null) {
+ Preconditions.checkArgument(
Review Comment:
`ScanContext.validate()` can only verify the validity of the variables
themselves, but cannot determine whether the `Tag` is correctly bound to an
available snapshot id.
--
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]