Skip to content

Handle BigQuery storage errors #6127

Description

@dbolduc

Related to #4832

As @alvarowolfx points out, BigQuery may encode a StorageError in the error details. We need to make sure this gets preserved when converting between gRPC-generated types and our own types.

This can happen in two place.

  1. Converting the status:

    "type.googleapis.com/google.rpc.DebugInfo" => value

  2. Converting protos with rpc::Status as a field:

    .filter_map(gaxi::grpc::status::any_to_prost)

It will be tricky, because the conversion code lives in gaxi, and we typically do not want that code supporting service-specific types.

We will probably want to extend the interface to accept a custom set of names, Ts, that a service can supply.

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the BigQuery API.api: bigquerystorageIssues related to the BigQuery Storage API.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions