table revision number
This commit is contained in:
Binary file not shown.
@@ -135,6 +135,8 @@ pub struct GetTableImportDescriptorResponse {
|
||||
pub table_name: ::prost::alloc::string::String,
|
||||
#[prost(int64, tag = "4")]
|
||||
pub table_id: i64,
|
||||
/// Version of this import contract. Send it as expected_table_revision on
|
||||
/// every staged chunk so schema/rule changes refuse stale prepared data.
|
||||
#[prost(int64, tag = "5")]
|
||||
pub table_revision: i64,
|
||||
#[prost(message, repeated, tag = "6")]
|
||||
|
||||
@@ -95,6 +95,10 @@ pub struct StageTableDataImportRequest {
|
||||
pub table_name: ::prost::alloc::string::String,
|
||||
#[prost(message, repeated, tag = "3")]
|
||||
pub rows: ::prost::alloc::vec::Vec<TableDataImportRow>,
|
||||
/// Import-contract revision returned by GetTableImportDescriptor. A zero
|
||||
/// value is accepted for older clients and snapshots the current revision.
|
||||
#[prost(int64, tag = "4")]
|
||||
pub expected_table_revision: i64,
|
||||
}
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct TableDataImportRow {
|
||||
|
||||
Reference in New Issue
Block a user