Skip to content

Commit

Permalink
revert schema diff changes
Browse files Browse the repository at this point in the history
  • Loading branch information
manjutapali committed Jul 30, 2024
1 parent 5aeb6d3 commit c7c4500
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions destination_sdk.proto
Original file line number Diff line number Diff line change
Expand Up @@ -55,26 +55,7 @@ message CreateTableResponse {
message AlterTableRequest {
map<string, string> configuration = 1;
string schema_name = 2;
string table_name = 3;
repeated SchemaDiff changes = 4;
}

message SchemaDiff {
oneof change {
Column add_column = 1;
ChangeType change_column_type = 2;
PrimaryKey update_primary_keys = 3;
}
}

message PrimaryKey {
repeated string column_name = 1;
}

message ChangeType {
string column_name = 1;
DataType new_type = 2;
optional DataTypeParams params = 3;
Table table = 3;
}

message AlterTableResponse {
Expand Down

0 comments on commit c7c4500

Please sign in to comment.