Commit Graph

201 Commits

Author SHA1 Message Date
Ruihang Xia 31dd060fc3 feat: change EXPIRE WHEN to EXPIRE AFTER (#170)
* feat: change EXPIRE WHEN to EXPIRE AFTER

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

* change expire_after type

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

* optional expire after

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

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2024-05-27 14:40:56 +08:00
Lei, HUANG 3cd71167ee chore: add compaction paramaters (#169)
* chore: add compaction paramaters

* fix: formatting and field names
2024-05-22 17:24:06 +08:00
Ruihang Xia e650f73c0b chore: ignore ccls cache dir (#171)
* chore: ignore ccls cache dir

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

* add empty line

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

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2024-05-22 11:33:53 +08:00
dennis zhuang a11db14b85 feat: adds view expressions (#165)
* feat: adds view expressions

* feat: adds meta tasks for view

* feat: adds view_info to CreateViewTask

* chore: rename create_or_replace to or_replace
2024-05-14 16:54:19 +08:00
Weny Xu 219b2409bb feat: add flow_id and drop_if_exists to DropFlowExpr (#164)
* feat: add `flow_id` and `drop_if_exists` to `DropFlowExpr`

* chore: apply suggestions from CR

* chore: generate code
2024-05-10 11:32:37 +08:00
Weny Xu e152fcbf17 feat: add QueryContext to DdlTaskRequest and FlowRequestHeader (#166) 2024-05-09 14:27:41 +08:00
Jeremyhi 5c28f1d7ca feat: add start_time_ms for metasrv node info (#167) 2024-05-09 14:26:55 +08:00
Jeremyhi 07de9a47ed feat: more metasrv node info (#163) 2024-05-07 19:00:15 +08:00
Kelvin Wu a191edaea1 feat: add QueryContext to RegionRequestHeader (#156) 2024-05-06 12:49:26 +08:00
dennis zhuang f699e240f7 feat: adds node info to heartbeat request (#160) 2024-04-30 11:21:05 +08:00
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 4bc0d17577 fix: mvn publish (#161) 2024-04-29 20:06:30 +08:00
Jeremyhi 8e73563f48 feat: upgrade java depends version (#159) 2024-04-29 19:18:40 +08:00
Jeremyhi aba235025a refactor: remove duration type (#158) 2024-04-28 16:34:50 +08:00
tison 1de2113d4e ci: fixup config pass (#157)
Signed-off-by: tison <wander4096@gmail.com>
2024-04-28 12:02:34 +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
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 188153f55e release: v0.4.3 (#136) 2024-01-31 10:48:30 +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
WU Jingdi 2e1bc02286 fix: license header check ci (#133) 2024-01-04 16:25:33 +08:00
JeremyHi a31ea166fc chore: big typos (#129)
* chore: big typos

* feat: 0.4.2
2023-12-15 11:55:39 +08:00
JeremyHi 4306ab645e feat: java proto v0.4.1 (#128) 2023-12-14 16:39:06 +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
LFC 9d82dddf75 ci: publish maven artifact (#119) 2023-11-03 22:39:58 +08:00
LFC 5da72f1cae ci: publish maven artifact (#116) 2023-10-31 16:24:20 +08:00
Weny Xu d354d4f0f7 feat: introduce region role (#113) 2023-10-31 15:17:41 +08:00