Skip to content

Commit

Permalink
Implement Transform function in Plugin proto file. (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
marianogappa authored Jul 17, 2024
1 parent ec404a3 commit e0f5340
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 @@ -27,6 +27,8 @@ service Plugin {
rpc Read(Read.Request) returns (stream Read.Response);
// Write resources. Write is the mirror of Sync, expecting a stream of messages as input.
rpc Write(stream Write.Request) returns (Write.Response);
// Transform resources.
rpc Transform(stream Transform.Request) returns (stream Transform.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 @@ -190,6 +192,17 @@ message Write {
message Response {}
}

message Transform {
message Request {
// marshalled arrow.Record
bytes record = 1;
}
message Response {
// marshalled arrow.Record
bytes record = 1;
}
}

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

0 comments on commit e0f5340

Please sign in to comment.