dedocibula commented on code in PR #35544:
URL: https://github.com/apache/beam/pull/35544#discussion_r2193617190


##########
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/changestreams/action/QueryChangeStreamAction.java:
##########
@@ -178,6 +178,7 @@ public ProcessContinuation run(
       BundleFinalizer bundleFinalizer) {
     final String token = partition.getPartitionToken();
     final Timestamp startTimestamp = tracker.currentRestriction().getFrom();
+    final Timestamp endTimestamp = partition.getEndTimestamp();
     final Timestamp changeStreamQueryEndTimestamp =
         partition.getEndTimestamp().equals(MAX_INCLUSIVE_END_AT)

Review Comment:
   swap partition.getEndTimestamp() for endTimestamp here and in the else case



-- 
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: github-unsubscr...@beam.apache.org

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

Reply via email to