table revision number
This commit is contained in:
@@ -143,6 +143,8 @@ message GetTableImportDescriptorResponse {
|
||||
string storage_profile_name = 2;
|
||||
string table_name = 3;
|
||||
int64 table_id = 4;
|
||||
// Version of this import contract. Send it as expected_table_revision on
|
||||
// every staged chunk so schema/rule changes refuse stale prepared data.
|
||||
int64 table_revision = 5;
|
||||
repeated ImportFieldDescriptor fields = 6;
|
||||
}
|
||||
|
||||
@@ -199,6 +199,9 @@ message StageTableDataImportRequest {
|
||||
string import_id = 1;
|
||||
string table_name = 2;
|
||||
repeated TableDataImportRow rows = 3;
|
||||
// Import-contract revision returned by GetTableImportDescriptor. A zero
|
||||
// value is accepted for older clients and snapshots the current revision.
|
||||
int64 expected_table_revision = 4;
|
||||
}
|
||||
|
||||
message TableDataImportRow {
|
||||
|
||||
Reference in New Issue
Block a user