Skip to content

Commit 38661cd

Browse files
authored
feat: Add TransformSchema message. (#24)
1 parent e0f5340 commit 38661cd

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

plugin/v3/plugin.proto

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ service Plugin {
2929
rpc Write(stream Write.Request) returns (Write.Response);
3030
// Transform resources.
3131
rpc Transform(stream Transform.Request) returns (stream Transform.Response);
32+
// Transform schemas.
33+
rpc TransformSchema(stream TransformSchema.Request) returns (stream TransformSchema.Response);
3234
// Send signal to flush and close open connections
3335
rpc Close(Close.Request) returns (Close.Response);
3436
// Validate and test the connections used by the plugin
@@ -203,6 +205,17 @@ message Transform {
203205
}
204206
}
205207

208+
message TransformSchema {
209+
message Request {
210+
// marshalled arrow.Schema
211+
bytes schema = 1;
212+
}
213+
message Response {
214+
// marshalled arrow.Schema
215+
bytes schema = 1;
216+
}
217+
}
218+
206219
message Close {
207220
message Request {}
208221
message Response {}

0 commit comments

Comments
 (0)