feat: define region server related messages (#79)

* feat: define region server related messages

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* finalise

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* generate language code

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* add missing field

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* push region id down

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* remove type alias for region id and column id

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* define query request

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* remove old java file

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

* remove go code

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
Ruihang Xia
2023-08-15 18:43:23 +08:00
committed by GitHub
parent f3a7cdff3c
commit dbb8e524ca
11 changed files with 24546 additions and 4 deletions
+2 -4
View File
@@ -35,9 +35,7 @@ message RequestHeader {
optional uint64 span_id = 6;
}
message ResponseHeader {
Status status = 1;
}
message ResponseHeader { Status status = 1; }
message Status {
// Corresponding to the `StatusCode` definition of GreptimeDB
@@ -69,6 +67,7 @@ enum SemanticType {
TIMESTAMP = 2;
}
// TODO: deprecate this, and use the `ColumnDef` in region_server.proto instead
message ColumnDef {
string name = 1;
ColumnDataType datatype = 2;
@@ -104,4 +103,3 @@ enum ColumnDataType {
INTERVAL_DAY_TIME = 24;
INTERVAL_MONTH_DAY_NANO = 25;
}