Commit Graph

84 Commits

Author SHA1 Message Date
Weny Xu b5412f7225 refactor: remove task suffix (#162)
* refactor: remove task suffix

* chore: rename task_options to flow_options
2024-04-29 21:22:55 +08:00
Jeremyhi aba235025a refactor: remove duration type (#158) 2024-04-28 16:34:50 +08:00
tison 95cd1ab1c0 ci: Align pull_request_template with the main repo + upgrade CI (#155)
Signed-off-by: tison <wander4096@gmail.com>
2024-04-28 10:30:32 +08:00
Kould 20b85ef113 feat: add ChangeColumnType expr (#149)
* feat: add `ModifyColumn`

* style: rename `ModifyColumn` -> `ChangeColumnType`

* style: rename `modify_columns` -> `change_column_types`

* style: remove `ChangeColumnTypes` on `server.proto`

* resolve conflicts
2024-04-26 14:07:25 +08:00
Ruihang Xia 783682fabc refactor: move TableName out of meta common (#152)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2024-04-25 20:14:54 +08:00
Ruihang Xia d18b1c8b8a feat: add or_replace to CREATE FLOW TASK
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2024-04-25 17:39:22 +08:00
Weny Xu 93ebc1ba90 feat: add source_tables and source_table_ids (#151)
* feat: add `source_tables`

* feat: use `SchemaScopedTableName`

* chore: include flow proto

* chore: rename

* feat: add `CreateFlowTask` and `DropFlowTask`
2024-04-25 17:29:14 +08:00
discord9 5d7db484ce feat: add Create/Remove Task request (#150)
* feat: add Create/Remove Task request

* chore: all supported impls

* feat: flow.server.proto

* feat: add affected task ids

* chore: make all

* chore: typo

* refactor: use u32 for `TaskId`
2024-04-25 14:19:55 +08:00
Eugene Tolbakov 04d78b6e02 feat(promql): add lookback parameter (#145)
* feat(promql): add lookback parameter

* feat(promql): add lookback parameter to InstantQuery
2024-04-14 20:23:18 +08:00
Jeremyhi 8da84a04b1 feat: get metasrv peers (#144) 2024-04-12 17:12:19 +08:00
Yohan Wal b97efbf92a chore: change create database api (#143) 2024-04-09 17:29:04 +08:00
Weny Xu c00c73b76e feat: add PrepareRollback, RollingBack to procedure state (#142)
* feat: add `CommitRollback`, `RollingBack` to procedure state

* refactor: rename to `PrepareRollback`
2024-04-08 17:30:44 +08:00
Yohan Wal 1bd2398b68 feat: enable database creation (#141) 2024-04-07 16:07:46 +08:00
Weny Xu 06f6297ff3 feat: add drop database expr (#139) 2024-03-19 17:51:02 +08:00
dennis zhuang 96f1f0404f feat: region procedure service (#137)
* feat: adds region service and procedure service

* refactor: adds procedure service for ddl and region task

* feat: adds QueryProcedureRequest

* feat: improve ProcedureStateResponse and MigrateRegionRequest

* fix: forgot headers

* fix: remove cluster_id in MigrateRegionRequest

* refactor: rename Procedure to ProcedureService

* chore: rename peer

* fix: forgot java Procedure
2024-02-02 22:56:40 +08:00
JeremyHi 519b1d0757 feat: support batch ddl (#135)
* feat: support batch create table

* feat: ddl batch

* feat: batch ddl task

* feat: response table ids
2024-01-22 15:39:21 +09:00
shuiyisong 65b008f018 chore: add Metrics in FlightMetadata (#134)
* chore: add metrics to metadata

* chore: update metrics to message

* chore: change string to bytes for backward compatibility

* chore: rebase main
2024-01-16 12:02:54 +08:00
WU Jingdi 2c1f17dce7 feat: support timezone in gRPC query (#132) 2024-01-09 17:02:44 +08:00
JeremyHi a31ea166fc chore: big typos (#129)
* chore: big typos

* feat: 0.4.2
2023-12-15 11:55:39 +08:00
Weny Xu 4377b4377c feat: add closeable_region_ids in RegionLease (#125)
* feat: add closeable_region_ids in RegionLease

* fix: use repeated uint64
2023-12-04 18:42:07 +09:00
Junfan Zhang 2aaee38de8 feat: add IF EXISTS for DROP (#123)
* feat: add IF EXISTS for DROP

For https://github.com/GreptimeTeam/greptimedb/issues/2794

* generate code

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

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Co-authored-by: Ruihang Xia <waynestxia@gmail.com>
2023-11-24 08:40:12 +00:00
Wei a11efce55d feat: add type extension for column (#122)
* feat: decimal128 proto

* chore: make all

* chore: empty line

* refactor: remove precision and scale

* chore: cr comment

Co-authored-by: Yingwen <realevenyag@gmail.com>

---------

Co-authored-by: Yingwen <realevenyag@gmail.com>
2023-11-24 10:40:50 +08:00
WU Jingdi 25429306d0 feat: pass tracing context in proto (#120)
* feat: pass tracing context in proto

* fix: run make
2023-11-15 19:26:13 +08:00
Weny Xu 7eb2e78be7 feat: use GrantedRegion instead of region_ids (#117) 2023-11-03 22:40:32 +08:00
Weny Xu d354d4f0f7 feat: introduce region role (#113) 2023-10-31 15:17:41 +08:00
Weny Xu c27b3844e5 refactor: remove router rpc (#114) 2023-10-31 12:12:55 +08:00
JeremyHi 1d7dc6f18b feat: remove the move_value api (#111) 2023-10-23 10:20:57 +08:00
Wei 9d3f28d07d feat: add duration column. (#105) 2023-09-18 19:08:44 +08:00
Ruihang Xia 637c54338f feat: add comment field to ColumnDef (#104)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2023-09-17 18:59:41 +08:00
LFC 81495b166b chore: remove table ident (#99) 2023-09-12 23:20:59 +08:00
Ruihang Xia 33db1a4429 feat: remove region id and add request header (#101)
* remove region from database proto

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

* add request header to read

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

* generate code

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

* forget some ts

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

* generate code

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

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2023-09-06 20:52:41 +08:00
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