fixed issues with the import
This commit is contained in:
@@ -185,6 +185,9 @@ message PostTableDataResponse {
|
||||
|
||||
// Journal created or updated by automatic accounting, when applicable.
|
||||
optional int64 journal_id = 5;
|
||||
|
||||
// Non-blocking data-quality warnings produced while inserting the row.
|
||||
repeated string warnings = 6;
|
||||
}
|
||||
|
||||
message BeginTableDataImportRequest {
|
||||
@@ -218,9 +221,17 @@ message CommitTableDataImportRequest {
|
||||
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 {
|
||||
bool success = 1;
|
||||
int64 inserted_rows = 2;
|
||||
repeated TableDataImportWarning warnings = 3;
|
||||
}
|
||||
|
||||
message AbortTableDataImportRequest {
|
||||
|
||||
Reference in New Issue
Block a user