Skip to content

Commit

Permalink
feature(V2): V2 proto changes to support history mode (#86)
Browse files Browse the repository at this point in the history
destination proto change

Co-authored-by: Satvik Patil <[email protected]>
  • Loading branch information
fivetran-satvikpatil and Satvik Patil authored Jan 31, 2025
1 parent 31d2f13 commit fcd631e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions v2_examples/destination_sdk_v2.proto
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ service DestinationConnector {
rpc AlterTable(AlterTableRequest) returns (AlterTableResponse) {}
rpc Truncate(TruncateRequest) returns (TruncateResponse) {}
rpc WriteBatch (WriteBatchRequest) returns (WriteBatchResponse) {}
rpc WriteHistoryBatch (WriteHistoryBatchRequest) returns (WriteBatchResponse) {}
}

message CapabilitiesRequest {}
Expand Down Expand Up @@ -97,6 +98,18 @@ message WriteBatchRequest {
repeated string replace_files = 5;
repeated string update_files = 6;
repeated string delete_files = 7;
FileParams file_params = 8;
}

message WriteHistoryBatchRequest {
map<string, string> configuration = 1;
string schema_name = 2;
Table table = 3;
map<string, bytes> keys = 4;
repeated string earliest_start_files = 5;
repeated string replace_files = 6;
repeated string update_files = 7;
repeated string delete_files = 8;
FileParams file_params = 9;
}

Expand Down

0 comments on commit fcd631e

Please sign in to comment.