Commit Graph

103 Commits

Author SHA1 Message Date
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
Weny Xu 2c14c6e22d refactor: replace sink_table_id with sink_table_name (#153) 2024-04-26 16:47:57 +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
LFC 73ac0207ab chore: upgrade tonic and add timezone to region request header (#148)
* chore: upgrade tonic to 0.11

* Region request should eval timezone info, too.
2024-04-19 11:20:56 +08:00
WU Jingdi e04700efd3 feat: PromQL ScalarCalculate plan (#147) 2024-04-17 11:25:37 +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
Ruihang Xia 349cb38558 feat: add extension field to region response (#138)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2024-03-15 15:47:06 +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
Zhenchi b1d403088f feat(inverted_index): add row count to metas (#126)
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
2023-12-05 10:42:43 +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
Zhenchi 2b3ae45740 refactor(index): add base offset to InvertedIndexMeta (#124)
* feat: add base offset to `InvertedIndexMeta`

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>

* chore: rename fields to reduce confused

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>

* fix: make

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>

* Update proto/greptime/v1/index/inverted_index.proto

Co-authored-by: Ruihang Xia <waynestxia@gmail.com>

---------

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Co-authored-by: Ruihang Xia <waynestxia@gmail.com>
2023-11-24 16:26:36 +08: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
Zhenchi 2ffdcae9f9 feat: add InvertedIndexMetas (#121)
* feat: add `InvertedIndexFooter`

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>

* feat: map instead of list

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>

* fix: add rust mod

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>

* chore: rename InvertedIndexFooter to InvertedIndexMetas

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>

* chore: add java outer classname option

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>

---------

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
2023-11-23 12:31:40 +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
shuiyisong 1f1dd532a1 chore: add dbname in region request header for tracking purpose (#107) 2023-10-07 17:16:26 +08:00
Vanish 693128abe9 feat: truncate region (#103) 2023-09-24 15:13:21 +08:00
Yingwen 115c108077 feat: remove create_if_not_exists from region CreateRequest (#106) 2023-09-20 16:11:27 +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
JeremyHi e81a60e817 feat: region storage path (#102) 2023-09-15 16:39:28 +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
Ruihang Xia 117ec6c510 feat: remove storage path in open/create request (#92)
* feat: remove storage path in open/create request

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

* generate code

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

* sync changes

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

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2023-08-30 16:15:21 +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
Yingwen ec2d346e09 docs: update primary key comment (#89)
Documents that primary_key holds ids of columns.
2023-08-28 17:24:10 +08:00
Ruihang Xia 3b5a687da5 feat: define header for region request (#90)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2023-08-28 17:22:46 +08:00
Ruihang Xia 39b0ea8d08 fix: minor changes to region server (#88)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2023-08-28 11:00:55 +08:00
LFC 4d9ed36291 fix: typo (#84)
* fix: typo

* rebase main
2023-08-25 17:40:10 +08:00