googleapis / googleapis/google-cloud-go

bigquery: add a way to override retry properties

Open
#7,526 0 comments 0 reactions 2 assignees Claimed by @alvarowolfx View on GitHub
api: bigquery priority: p2 type: feature request
Dominant language
Go
Stars
4.5k
Forks
1.6k
Avg merge
1d 13h
Merged PRs (30d)
109

Description

In big query the retry configuration is hard coded inside big query package:
```golang
backoff := gax.Backoff{
Initial: 1 * time.Second,
Max: 32 * time.Second,
Multiplier: 2,
}
```

I would want to override it and give higher values for all fields, to avoid duplications in BQ. (prevent retry if the row may be written successfully even some error retrieved )

In all other GCP services the retry config can be overriden from the client code, Can we align also BQ to be the same? this is very weird that you have hard coded values that can't be overriden.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.