feat: add partition to CreateRequest (#267)

This commit is contained in:
Zhenchi
2025-08-14 05:39:49 +08:00
committed by GitHub
parent 69680846a0
commit 9edc8c4d2a
5 changed files with 1120 additions and 670 deletions
+3 -1
View File
@@ -18,6 +18,7 @@ package greptime.v1.region;
import "greptime/v1/common.proto";
import "greptime/v1/ddl.proto";
import "greptime/v1/meta/route.proto";
import "greptime/v1/row.proto";
option go_package = "github.com/GreptimeTeam/greptime-proto/go/greptime/v1/region";
@@ -116,7 +117,8 @@ message CreateRequest {
string path = 5;
// Options of the created region.
map<string, string> options = 6;
// TODO: add partition def
// Partition of the created region.
greptime.v1.meta.Partition partition = 7;
}
// Same as CreateRequests, but for dropping regions.