Skip to content

Commit

Permalink
feat: Add TransformSchema message. (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
marianogappa authored Jul 30, 2024
1 parent e0f5340 commit 38661cd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions plugin/v3/plugin.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ service Plugin {
rpc Write(stream Write.Request) returns (Write.Response);
// Transform resources.
rpc Transform(stream Transform.Request) returns (stream Transform.Response);
// Transform schemas.
rpc TransformSchema(stream TransformSchema.Request) returns (stream TransformSchema.Response);
// Send signal to flush and close open connections
rpc Close(Close.Request) returns (Close.Response);
// Validate and test the connections used by the plugin
Expand Down Expand Up @@ -203,6 +205,17 @@ message Transform {
}
}

message TransformSchema {
message Request {
// marshalled arrow.Schema
bytes schema = 1;
}
message Response {
// marshalled arrow.Schema
bytes schema = 1;
}
}

message Close {
message Request {}
message Response {}
Expand Down

0 comments on commit 38661cd

Please sign in to comment.