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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user