deleted = true does enforce requireed fields
This commit is contained in:
Submodule client-gui2 updated: a9f6c4ab35...842b941b3e
@@ -186,8 +186,6 @@ message PostTableDataResponse {
|
|||||||
// Journal created or updated by automatic accounting, when applicable.
|
// Journal created or updated by automatic accounting, when applicable.
|
||||||
optional int64 journal_id = 5;
|
optional int64 journal_id = 5;
|
||||||
|
|
||||||
// Non-blocking data-quality warnings produced while inserting the row.
|
|
||||||
repeated string warnings = 6;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message BeginTableDataImportRequest {
|
message BeginTableDataImportRequest {
|
||||||
@@ -221,17 +219,9 @@ message CommitTableDataImportRequest {
|
|||||||
string import_id = 1;
|
string import_id = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
message TableDataImportWarning {
|
|
||||||
// Zero-based position in the staged import, matching failed-row metadata.
|
|
||||||
int64 row_index = 1;
|
|
||||||
string table_name = 2;
|
|
||||||
string message = 3;
|
|
||||||
}
|
|
||||||
|
|
||||||
message CommitTableDataImportResponse {
|
message CommitTableDataImportResponse {
|
||||||
bool success = 1;
|
bool success = 1;
|
||||||
int64 inserted_rows = 2;
|
int64 inserted_rows = 2;
|
||||||
repeated TableDataImportWarning warnings = 3;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
message AbortTableDataImportRequest {
|
message AbortTableDataImportRequest {
|
||||||
|
|||||||
Binary file not shown.
@@ -77,9 +77,6 @@ pub struct PostTableDataResponse {
|
|||||||
/// Journal created or updated by automatic accounting, when applicable.
|
/// Journal created or updated by automatic accounting, when applicable.
|
||||||
#[prost(int64, optional, tag = "5")]
|
#[prost(int64, optional, tag = "5")]
|
||||||
pub journal_id: ::core::option::Option<i64>,
|
pub journal_id: ::core::option::Option<i64>,
|
||||||
/// Non-blocking data-quality warnings produced while inserting the row.
|
|
||||||
#[prost(string, repeated, tag = "6")]
|
|
||||||
pub warnings: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
|
|
||||||
}
|
}
|
||||||
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
|
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
|
||||||
pub struct BeginTableDataImportRequest {
|
pub struct BeginTableDataImportRequest {
|
||||||
@@ -125,24 +122,12 @@ pub struct CommitTableDataImportRequest {
|
|||||||
#[prost(string, tag = "1")]
|
#[prost(string, tag = "1")]
|
||||||
pub import_id: ::prost::alloc::string::String,
|
pub import_id: ::prost::alloc::string::String,
|
||||||
}
|
}
|
||||||
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
|
|
||||||
pub struct TableDataImportWarning {
|
|
||||||
/// Zero-based position in the staged import, matching failed-row metadata.
|
|
||||||
#[prost(int64, tag = "1")]
|
|
||||||
pub row_index: i64,
|
|
||||||
#[prost(string, tag = "2")]
|
|
||||||
pub table_name: ::prost::alloc::string::String,
|
|
||||||
#[prost(string, tag = "3")]
|
|
||||||
pub message: ::prost::alloc::string::String,
|
|
||||||
}
|
|
||||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||||
pub struct CommitTableDataImportResponse {
|
pub struct CommitTableDataImportResponse {
|
||||||
#[prost(bool, tag = "1")]
|
#[prost(bool, tag = "1")]
|
||||||
pub success: bool,
|
pub success: bool,
|
||||||
#[prost(int64, tag = "2")]
|
#[prost(int64, tag = "2")]
|
||||||
pub inserted_rows: i64,
|
pub inserted_rows: i64,
|
||||||
#[prost(message, repeated, tag = "3")]
|
|
||||||
pub warnings: ::prost::alloc::vec::Vec<TableDataImportWarning>,
|
|
||||||
}
|
}
|
||||||
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
|
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
|
||||||
pub struct AbortTableDataImportRequest {
|
pub struct AbortTableDataImportRequest {
|
||||||
|
|||||||
2
server
2
server
Submodule server updated: d6f9f92fda...15d938893a
Reference in New Issue
Block a user