feat: handle multiple InsertRequests in GRPC method (#47)

* feat: make InsertRequest in a batch

* feat: make InsertRequest in a batch

* feat: make InsertRequest in a batch
This commit is contained in:
LFC
2023-06-02 16:37:45 +08:00
committed by GitHub
parent 52dcb43b5d
commit 4398d20c56
7 changed files with 1209 additions and 248 deletions
+5 -1
View File
@@ -34,7 +34,7 @@ service GreptimeDatabase {
message GreptimeRequest {
RequestHeader header = 1;
oneof request {
InsertRequest insert = 2;
InsertRequests inserts = 2;
QueryRequest query = 3;
DdlRequest ddl = 4;
DeleteRequest delete = 5;
@@ -54,6 +54,10 @@ message QueryRequest {
}
}
message InsertRequests {
repeated InsertRequest inserts = 1;
}
message InsertRequest {
string table_name = 1;