Skip to content

Commit ca3d7e8

Browse files
Google APIscopybara-github
authored andcommitted
feat: add default_missing_value_interpretation field; indicate KMS_SERVICE_ERROR is retryable
PiperOrigin-RevId: 556931084
1 parent c524e23 commit ca3d7e8

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

google/cloud/bigquery/storage/v1/storage.proto

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,18 @@ message AppendRowsRequest {
518518
// Currently, field name can only be top-level column name, can't be a struct
519519
// field path like 'foo.bar'.
520520
map<string, MissingValueInterpretation> missing_value_interpretations = 7;
521+
522+
// Optional. Default missing value interpretation for all columns in the
523+
// table. When a value is specified on an `AppendRowsRequest`, it is applied
524+
// to all requests on the connection from that point forward, until a
525+
// subsequent `AppendRowsRequest` sets it to a different value.
526+
// `missing_value_interpretation` can override
527+
// `default_missing_value_interpretation`. For example, if you want to write
528+
// `NULL` instead of using default values for some columns, you can set
529+
// `default_missing_value_interpretation` to `DEFAULT_VALUE` and at the same
530+
// time, set `missing_value_interpretations` to `NULL_VALUE` on those columns.
531+
MissingValueInterpretation default_missing_value_interpretation = 8
532+
[(google.api.field_behavior) = OPTIONAL];
521533
}
522534

523535
// Response message for `AppendRows`.
@@ -705,7 +717,8 @@ message StorageError {
705717
// There is an encryption error while using customer-managed encryption key.
706718
CMEK_ENCRYPTION_ERROR = 12;
707719

708-
// Key Management Service (KMS) service returned an error.
720+
// Key Management Service (KMS) service returned an error, which can be
721+
// retried.
709722
KMS_SERVICE_ERROR = 13;
710723

711724
// Permission denied while using customer-managed encryption key.

0 commit comments

Comments
 (0)