feat: Add two new fields, ignoreUnknownFields in AppendRowsRequest and update_schema in AppendRowsResponse.

PiperOrigin-RevId: 318344356
This commit is contained in:
Google APIs 2020-06-25 14:07:38 -07:00 committed by Copybara-Service
parent 0a602be7b3
commit a2cf7d0df2
1 changed files with 10 additions and 0 deletions

View File

@ -169,6 +169,11 @@ message AppendRowsRequest {
oneof rows {
ProtoData proto_rows = 4;
}
// Only initial request setting is respected. If true, drop unknown input
// fields. Otherwise, the extra fields will cause append to fail. Default
// value is false.
bool ignore_unknown_fields = 5;
}
// Response message for `AppendRows`.
@ -181,6 +186,11 @@ message AppendRowsResponse {
// into the system. Users can retry within the same connection.
google.rpc.Status error = 2;
}
// If backend detects a schema update, pass it to user so that user can
// use it to input new type of message. It will be empty when there is no
// schema updates.
TableSchema updated_schema = 3;
}
// Request message for `GetWriteStreamRequest`.