bigquery: Grpc storage api #4033
Labels
api: bigquery
Issues related to the BigQuery API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
I was trying out https://github.com/googleapis/google-cloud-go/blob/bigquery/v1.17.0/bigquery/storage/apiv1beta2/big_query_write_client_example_test.go
I am unable to figure out to send a nested json into stream.
My use case is where i want to read from db and stream it to big query.
go func() { reqs := []*storagepb.AppendRowsRequest{ // TODO: Create requests. } for _, req := range reqs { if err := stream.Send(req); err != nil { // TODO: Handle error. } } stream.CloseSend() }()
Can somebody plz give an example of requests.
The text was updated successfully, but these errors were encountered: