Skip to content

Commit 1fdb4f1

Browse files
authored
fix: add documentation for insertall api that there's no default retry (googleapis#13953)
Add documentation for insertall that there's no default behavior
1 parent be64442 commit 1fdb4f1

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • java-bigquery/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery

java-bigquery/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/BigQueryImpl.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1659,6 +1659,10 @@ public Routine apply(com.google.api.services.bigquery.model.Routine routinePb) {
16591659

16601660
@Override
16611661
public InsertAllResponse insertAll(InsertAllRequest request) {
1662+
// This API inserts the specified rows into a table using the BigQuery insertAll API.
1663+
// Note: To prevent duplicate rows, this method does not perform automatic retries unless
1664+
// insert IDs are provided. Transient service errors (such as UNAVAILABLE) may be thrown and
1665+
// should be handled by the caller.
16621666
final TableId tableId =
16631667
request
16641668
.getTable()

0 commit comments

Comments
 (0)