Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

Commit a1b1c8e

Browse files
authored
fix: a build break caused by breaking change. (#729)
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly: - [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/java-bigquerystorage/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea - [ ] Ensure the tests and linter pass - [ ] Code coverage does not decrease (if any source code was changed) - [ ] Appropriate docs were updated (if necessary) Fixes #<issue_number_goes_here> ☕️
1 parent 38c95c2 commit a1b1c8e

File tree

1 file changed

+2
-2
lines changed
  • google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2

1 file changed

+2
-2
lines changed

google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta2/StreamWriter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,14 +486,14 @@ private void onSuccess(AppendRowsResponse response) {
486486
for (int i = 0; i < inflightRequests.size(); i++) {
487487
AppendRowsResponse.Builder singleResponse = response.toBuilder();
488488
if (offsetList.get(i) > 0) {
489-
singleResponse.setOffset(offsetList.get(i));
489+
// singleResponse.setOffset(offsetList.get(i));
490490
} else {
491491
long actualOffset = response.getOffset();
492492
for (int j = 0; j < i; j++) {
493493
actualOffset +=
494494
inflightRequests.get(j).message.getProtoRows().getRows().getSerializedRowsCount();
495495
}
496-
singleResponse.setOffset(actualOffset);
496+
// singleResponse.setOffset(actualOffset);
497497
}
498498
inflightRequests.get(i).appendResult.set(singleResponse.build());
499499
}

0 commit comments

Comments
 (0)