Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2983,8 +2983,8 @@ void testInsertAll() throws IOException {
builder2.put("NumericField", new BigDecimal("123456789.123456789"));
InsertAllRequest request =
InsertAllRequest.newBuilder(tableInfo.getTableId())
.addRow(builder1.build())
.addRow(builder2.build())
.addRow(UUID.randomUUID().toString(), builder1.build())
.addRow(UUID.randomUUID().toString(), builder2.build())
Comment thread
jinseopkim0 marked this conversation as resolved.
.build();
InsertAllResponse response = bigquery.insertAll(request);
assertFalse(response.hasErrors());
Expand Down Expand Up @@ -3042,8 +3042,8 @@ void testInsertAllWithSuffix() throws InterruptedException {
builder2.put("NumericField", new BigDecimal("123456789.123456789"));
InsertAllRequest request =
InsertAllRequest.newBuilder(tableInfo.getTableId())
.addRow(builder1.build())
.addRow(builder2.build())
.addRow(UUID.randomUUID().toString(), builder1.build())
.addRow(UUID.randomUUID().toString(), builder2.build())
.setTemplateSuffix("_suffix")
.build();
InsertAllResponse response = bigquery.insertAll(request);
Expand Down Expand Up @@ -3116,9 +3116,9 @@ void testInsertAllWithErrors() {
builder3.put("BytesField", BYTES_BASE64);
InsertAllRequest request =
InsertAllRequest.newBuilder(tableInfo.getTableId())
.addRow(builder1.build())
.addRow(builder2.build())
.addRow(builder3.build())
.addRow(UUID.randomUUID().toString(), builder1.build())
.addRow(UUID.randomUUID().toString(), builder2.build())
.addRow(UUID.randomUUID().toString(), builder3.build())
.setSkipInvalidRows(true)
.build();
InsertAllResponse response = bigquery.insertAll(request);
Expand Down
Loading