ahmedabu98 commented on code in PR #35051:
URL: https://github.com/apache/beam/pull/35051#discussion_r2180295002


##########
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/StorageApiFlushAndFinalizeDoFn.java:
##########
@@ -70,6 +72,59 @@ public class StorageApiFlushAndFinalizeDoFn extends 
DoFn<KV<String, Operation>,
   private final Counter finalizeOperationsFailed =
       Metrics.counter(StorageApiFlushAndFinalizeDoFn.class, 
"finalizeOperationsFailed");
 
+  /** Custom exception to indicate that a stream is invalid due to an offset 
error. */
+  public static class StreamOffsetBeyondEndException extends IOException {
+    public StreamOffsetBeyondEndException(String message, Throwable cause) {
+      super(message, cause);
+    }
+  }

Review Comment:
   Doesn't seem like we use this anywhere?



-- 
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