Commit Graph

104 Commits

Author SHA1 Message Date
LFC 1969b5d610 feat: distributed alter table in region server (#97)
* feat: alter region request
2023-09-04 18:58:35 +08:00
JeremyHi b585955dbb feat: v04 new heartbeat (#96)
* feat: new heartbeat

* feat: single RegionLease to handle all region ids
2023-09-01 11:51:45 +08:00
JeremyHi 6d4131f57e feat: rm unused compact and flush (#95) 2023-08-30 19:03:48 +08:00
shuiyisong f263419222 feat: create schema with options (#93)
* chore: add options to create database expr

* chore: rebase develop
2023-08-30 14:40:08 +08:00
zyy17 e8e228b026 refactor: remove **all** unnecessary 'optional' notation (#91) 2023-08-30 11:08:14 +08:00
JeremyHi fa79839bbb feat: interal type for row protocol, and multi row deletes (#80) 2023-08-16 15:09:24 +08:00
Ruihang Xia dbb8e524ca 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>
2023-08-15 18:43:23 +08:00
Niwaka f3a7cdff3c feat: handle multiple DeleteRequest (#76) 2023-08-15 15:24:12 +08:00
Yingwen a6897eb668 feat: mito wal proto (#75)
* feat: row-based insert

* feat: null value

* roback: null value

* feat: delete by row

* feat: add wal proto

* feat: generate code

* feat: rename mutation type to op type

* feat: Generate code

* feat: An entry per region

* feat: remove region id from WalEntry

* refactor: move mito/wal to wal

* feat: gen

* feat: remove mito

---------

Co-authored-by: jiachun <jiachun_fjc@163.com>
2023-08-14 20:08:34 +08:00
JeremyHi d9167cab47 feat: row-based insert (#72)
* feat: row-based insert

* feat: null value

* roback: null value

* feat: delete by row

* feat: rename Value to Field
2023-08-14 12:15:44 +08:00
Zou Wei 940694cfd0 feat: add interval column type (#74)
* feat: add interval column type

* chore: add empty line
2023-08-03 11:50:19 +08:00
JeremyHi eeae2d0dfa refactor: common semantic type (#73) 2023-08-01 18:51:10 +08:00
Vanish e665c9ff3e feat: truncate table (#70) 2023-07-20 16:48:54 +08:00
LFC 8405064fda refactor: use table id in route request (#69) 2023-07-20 15:35:51 +08:00
JeremyHi bec16e50c9 feat: add status for reponse header (#65) 2023-07-17 11:55:51 +08:00
LFC 6e89daefca refactor: remove unused grpc methods (#67) 2023-07-17 11:55:01 +08:00
dennis zhuang ab5bc4849a feat: adds time column type (#62) 2023-07-13 11:44:28 +08:00
LFC b3039bef25 refactor: using table id in RouteRequest and DeleteRequest (#61)
* refactor: using table id in RouteRequest and DeleteRequest
2023-07-12 17:46:50 +08:00
Weny Xu f539d95a4f feat: add table version to alter expr (#58) 2023-07-12 11:00:43 +08:00
Ruihang Xia 53d0a7c5b0 feat: add TraceID and SpanID in request header (#59)
* feat: add TraceID and SpanID in request header

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

* chore: gen go and java

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Co-authored-by: evenyag <realevenyag@gmail.com>
2023-07-11 15:42:15 +08:00
Lei, HUANG 0f30b7fcbf feat: rebase upstream (#57) 2023-07-10 14:23:04 +08:00
JeremyHi 8f9cba5171 refactor: heartbeat protocol (#56) 2023-07-07 18:02:48 +08:00
Weny Xu 917ead6274 feat: Add DropTableTask, AlterTableTask (#54)
* feat: use type instead of pb bytes

* feat: add table_info to CreateTableTask

* fix: remove unused fields

* feat: bring create route method back

* feat: add table_id in SubmitDdlTaskResponse

* feat: add drop table task

* feat: add alter table task

* chore: allow large_enum_variant

* chore: apply suggestions from CR
2023-07-06 11:55:09 +08:00
Weny Xu f82201d712 feat: add ddl task service (#53)
* feat: add ddl task service

* chore: apply suggestions from CR

* chore: add path to build.rs
2023-06-28 16:21:47 +09:00
JeremyHi 7aeaeaba1e feat: node epoch (#52)
* feat: node epoch

* feat: meta proto for golang
2023-06-20 09:54:29 +08:00
LFC 5d5eb65bb9 feat: carry duration since epoch in heartbeat (#51)
* feat: duration since epoch in heartbeat

* feat: duration since epoch in heartbeat
2023-06-19 17:49:26 +09:00
LFC aee86f4a68 feat: table ident (#50)
* feat: table ident
2023-06-15 16:23:52 +09:00
LFC abb1d0a8f3 feat: region lease (#49)
* feat: region lease

* feat: region lease

* feat: region lease
2023-06-14 19:33:35 +08:00
LFC 4398d20c56 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
2023-06-02 16:37:45 +08:00
Yingwen ff0a47b646 fix: rename region_id to region_number (#44)
* feat: build java codes by makefile

* feat: generate java code

* fix: rename region_id to region_number

* feat: generate code
2023-05-30 11:46:33 +08:00
Weny Xu 5bf7cd1da6 feat: remove table_id in RegionStat (#43) 2023-05-30 11:37:42 +08:00
Weny Xu 8d76c044cf fix: change table_id type to u32 (#40) 2023-05-29 15:08:55 +08:00
Tarun Samanta 5838259244 fix: added table_id to RegionStat (#39)
* added table_id to RegionStat

* added go protobuf source codes
2023-05-23 21:38:23 +08:00
Zheming Li 4204be285f feat: add location info when adding columns (#38) 2023-05-22 17:18:14 +08:00
Ruihang Xia e94a24873b feat: add substrait extension (#36)
* feat: add substrait extension

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

* fix typo

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

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2023-05-18 14:31:14 +08:00
Ruihang Xia d32c9d5e98 chore: add license header (#35)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2023-05-18 14:27:17 +08:00
Weny Xu b450b690ef fix: change mailbox_messages to mailbox_message (#33) 2023-05-10 10:45:03 +08:00
Weny Xu df3ecbcf4b fix: update go-generated code (#31) 2023-05-04 15:22:28 +09:00
Ruihang Xia a26c40c004 feat: replace prom instant query with structure (#29)
* feat: replace prom instant query with structure

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

* generate go code

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

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2023-04-24 17:55:35 +08:00
LFC 57e6a032db feat: support "delete" in distributed mode (#28) 2023-04-24 10:38:45 +08:00
yuanbohan fd18fe5ca3 feat: promql service (#26)
* feat: promql service

* feat: promql service

* feat: prometheus service, and common.proto, prom.proto

* feat: add header in prom request/response

* docs: include new proto files in readme
2023-04-21 14:29:48 +08:00
Weny Xu 59afacdae5 feat: add engine field for CreateTableExpr (#25) 2023-04-03 12:38:22 +08:00
shuiyisong 9ec91aa19f chore: add BatchDelete to Store api (#21) 2023-03-27 15:24:03 +08:00
Ning Sun ff8c55bed0 feat: add dbname and health check api (#18)
* feat: add dbname field in proto

* feat: add health check service

* fix: enum must start from 0

* chore: check in generated go sources

* refactor: remove health check response content

* chore: generate go sources
2023-03-26 23:01:54 +08:00
Bohan Wu 9eaf95eb91 fix: fix github action to check untracked files (#19)
* fix: fix github action to check untracked files

* feat: generate database_grpc to support unary calls

* refactor: more brief
2023-03-24 09:37:38 +08:00
LFC dcf253314a feat: add GRPC client stream service to our GreptimeDB (#16) 2023-03-20 17:55:32 +08:00
LFC 0a7b790ed4 feat: add GRPC unary call service to our GreptimeDB (#15)
* feat: add GRPC unary call service to our GreptimeDB

* feat: add GRPC unary call service to our GreptimeDB

* feat: add GRPC unary call service to our GreptimeDB
2023-03-17 16:29:30 +08:00
Ning Sun 3a71515056 feat: add promql query support (#13)
* feat: add promql query support

* feat: add go sources

* refactor: rename promql to prom_range_query

* fix: lint issue
2023-03-13 11:34:53 +08:00
Weny Xu ad01872950 feat: add FlushTableExpr to DdlRequest (#12) 2023-03-01 15:21:16 +08:00
Weny Xu 8365873e83 feat: add FlushTableExpr (#11) 2023-02-28 15:59:18 +08:00