Skip to content

Commit ec0b890

Browse files
committed
Merge remote-tracking branch 'origin/main' into bump-firestore-3.43.1
2 parents 7ce3328 + 058efbb commit ec0b890

4 files changed

Lines changed: 10 additions & 251 deletions

File tree

.github/workflows/librarian_generation_check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Run librarian install
5858
run: |
5959
librarian install
60-
echo "$HOME/java_tools/bin" >> $GITHUB_PATH
60+
echo "$HOME/.cache/librarian/bin/java_tools/bin" >> $GITHUB_PATH
6161
- name: Run librarian generate
6262
env:
6363
PYTHONPATH: ${{ github.workspace }}/sdk-platform-java/hermetic_build/library_generation/owlbot

.github/workflows/update_librarian_googleapis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ jobs:
116116
if: steps.detect_librarian.outputs.has_changes == 'true'
117117
run: |
118118
go run github.com/googleapis/librarian/cmd/librarian@latest install
119-
echo "$HOME/java_tools/bin" >> $GITHUB_PATH
119+
echo "$HOME/.cache/librarian/bin/java_tools/bin" >> $GITHUB_PATH
120120
env:
121121
PYTHONPATH: ${{ github.workspace }}/sdk-platform-java/hermetic_build/library_generation/owlbot
122122
- name: Generate Libraries

java-bigquery/google-cloud-bigquery/src/test/java/com/google/cloud/bigquery/it/ITBigQueryTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2981,6 +2981,8 @@ void testInsertAll() throws IOException {
29812981
builder2.put("FloatField", 1.2);
29822982
builder2.put("GeographyField", "POINT(-122.350220 47.649154)");
29832983
builder2.put("NumericField", new BigDecimal("123456789.123456789"));
2984+
// Set insertId on all rows to enable automatic retries by the client library on transient
2985+
// errors.
29842986
InsertAllRequest request =
29852987
InsertAllRequest.newBuilder(tableInfo.getTableId())
29862988
.addRow(UUID.randomUUID().toString(), builder1.build())
@@ -3040,6 +3042,8 @@ void testInsertAllWithSuffix() throws InterruptedException {
30403042
builder2.put("FloatField", 1.2);
30413043
builder2.put("GeographyField", "POINT(-122.350220 47.649154)");
30423044
builder2.put("NumericField", new BigDecimal("123456789.123456789"));
3045+
// Set insertId on all rows to enable automatic retries by the client library on transient
3046+
// errors.
30433047
InsertAllRequest request =
30443048
InsertAllRequest.newBuilder(tableInfo.getTableId())
30453049
.addRow(UUID.randomUUID().toString(), builder1.build())
@@ -3114,6 +3118,8 @@ void testInsertAllWithErrors() {
31143118
builder3.put("IntegerArrayField", ImmutableList.of(0, 1));
31153119
builder3.put("BooleanField", false);
31163120
builder3.put("BytesField", BYTES_BASE64);
3121+
// Set insertId on all rows to enable automatic retries by the client library on transient
3122+
// errors.
31173123
InsertAllRequest request =
31183124
InsertAllRequest.newBuilder(tableInfo.getTableId())
31193125
.addRow(UUID.randomUUID().toString(), builder1.build())

0 commit comments

Comments
 (0)