Commit Graph

51 Commits

Author SHA1 Message Date
Weny Xu a2e5099d72 feat: use path for ApplyStagingManifestRequest (#297)
Signed-off-by: WenyXu <wenymedia@gmail.com>
2025-12-30 14:57:56 +08:00
Weny Xu 520fa524f9 feat: introduce ApplyStagingManifestRequest (#296)
Signed-off-by: WenyXu <wenymedia@gmail.com>
2025-12-24 16:30:08 +08:00
Sicong Hu 0df99f09f1 feat: add BuildIndexRequest to RegionRequestHeader (#291)
* feat: add `BuildIndexRequest` to `RegionRequestHeader`

Signed-off-by: SNC123 <sinhco@outlook.com>

* fix: make all

Signed-off-by: SNC123 <sinhco@outlook.com>

---------

Signed-off-by: SNC123 <sinhco@outlook.com>
2025-11-24 22:18:19 -08:00
Lei, HUANG 710f1fa95c feat: add parallelism to compaction request (#280)
Signed-off-by: Lei, HUANG <mrsatangel@gmail.com>
2025-10-16 11:46:55 +08:00
Ning Sun a250938d71 feat: add new json format (#281)
* feat: add new json format

* refactor: rename native format

* chore: store nested data type in json_native_extension

* feat: use json as a concrete type in proto

* Revert "feat: add `BuildIndexRequest` to `RegionRequestHeader` (#276)"

This reverts commit ee46a0eeaa.
2025-10-15 15:23:35 +08:00
Sicong Hu ee46a0eeaa feat: add BuildIndexRequest to RegionRequestHeader (#276)
Signed-off-by: SNC123 <sinhco@outlook.com>
2025-10-13 10:38:48 +08:00
Zhenchi 9edc8c4d2a feat: add partition to CreateRequest (#267) 2025-08-13 14:39:49 -07:00
discord9 ccfd4da48b feat: truncate request by time ranges (#262)
* feat: truncate request by time ranges

Signed-off-by: discord9 <discord9@163.com>

* fix: default time unit is millisecond

Signed-off-by: discord9 <discord9@163.com>

* refactor: per review

Signed-off-by: discord9 <discord9@163.com>

* add time ranges to truncate table expr

Signed-off-by: discord9 <discord9@163.com>

* chore: make all

Signed-off-by: discord9 <discord9@163.com>

* chore: fmt

Signed-off-by: discord9 <discord9@163.com>

* chore: make all

Signed-off-by: discord9 <discord9@163.com>

* chore: make all

Signed-off-by: discord9 <discord9@163.com>

---------

Signed-off-by: discord9 <discord9@163.com>
2025-08-04 18:17:40 +08:00
Weny Xu fe8c13f5f3 feat: introduce SyncColumns (#261) 2025-07-30 11:47:09 +08:00
Lin Yihai 3bb33593a7 feat: Support SET DEFAULT syntax (#251)
Signed-off-by: Yihai Lin <yihai-lin@foxmail.com>
2025-07-29 11:19:12 +08:00
Weny Xu 36116a5c24 feat: introduce SetIndexes and UnsetIndexes (#253) 2025-07-22 10:50:09 +08:00
fys 855dff1b87 chore: format proto file (#254)
* chore: proto file format using buf

* generate go file
2025-07-16 11:25:57 +08:00
Yingwen 819a949550 feat: Add ListMetadataRequest (#247)
* feat: add ListMetadataRequest

Signed-off-by: evenyag <realevenyag@gmail.com>

* chore: generate C++ and java codes

Signed-off-by: evenyag <realevenyag@gmail.com>

* chore: document return value

Signed-off-by: evenyag <realevenyag@gmail.com>

---------

Signed-off-by: evenyag <realevenyag@gmail.com>
2025-06-23 14:39:46 +08:00
Lin Yihai 82fe5c6282 feat: add DROP DEFAULT (#246)
Signed-off-by: Yihai Lin <yihai-lin@foxmail.com>
2025-06-17 16:19:39 +08:00
Lei, HUANG ecaefd1da7 feat: bulk wal entry (#239)
* Add bulk wal entry

* add sequence

* move arrow ipc to common
2025-05-29 17:10:13 +08:00
Lei, HUANG 67ee5f94e5 Add data header to requests (#240) 2025-05-23 14:18:52 +08:00
Lei, HUANG 187acde93b feat: remove region selection (#237)
* feat/remove-region-selection:
 ### Refactor `ArrowIpc` and Remove `RegionSelection`

 - **Refactor `ArrowIpc` Structure**:
   - Moved `region_id` to be the first field in `ArrowIpc`.
   - Removed `region_selection` field from `ArrowIpc`.
   - Updated field numbers for `schema` and `payload` in `ArrowIpc`.
   - Affected files: `server.pb.cc`, `server.pb.h`, `Server.java`, `server.proto`.

 - **Remove `RegionSelection` Message**:
   - Deleted the `RegionSelection` message and its related code.
   - Affected files: `server.pb.cc`, `server.pb.h`, `Server.java`, `server.proto`.

 These changes streamline the `ArrowIpc` message structure and remove unused `RegionSelection` components.

* dummy
2025-05-09 12:16:06 +08:00
Lei, HUANG bdca8e50e4 fix: restore region selection to avoid breaking main branch (#236) 2025-05-07 11:02:58 +08:00
Lei, HUANG 754d20f5ef refactor: add selection to bulk (#232)
* feat: add selection field to BulkInsertRequest

* add schema section

* change bulk request

* replace vec<u8> with bytes

* wip

* wip

* chore: rebase main

* fix: clippy

* refactor arrow ipc writes
2025-05-06 17:10:53 +08:00
Weny Xu b6d9cffd43 feat: add SyncRegion (#230)
* feat: add `SyncRegion`

* chore: apply suggestions from CR
2025-04-18 17:15:44 +08:00
Lei, HUANG 583daa3fbb feat: add bulk insert request type (#228)
* add bulk insert request type

* fix: rename
2025-04-10 20:06:41 +08:00
yihong 072ce58050 fix: add fast_drop_path for droprequest (#218)
* fix: add fast_drop_database_path for droprequest

Signed-off-by: yihong0618 <zouzou0208@gmail.com>

* fix: address review

Signed-off-by: yihong0618 <zouzou0208@gmail.com>

* fix: change the name to force_drop_all_logical_tables

Signed-off-by: yihong0618 <zouzou0208@gmail.com>

* fix: change it to better name and add comments

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: WenyXu <wenymedia@gmail.com>

---------

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: WenyXu <wenymedia@gmail.com>
2025-02-25 17:38:22 +09:00
Lanqing Yang 4a173785b3 feat: alter inverted index (#204) 2025-01-16 15:42:12 +08:00
Weny Xu 0b90ddc7eb feat: add UnsetTableOptions (#201) 2024-11-20 20:08:41 +08:00
Yohan Wal 58f8f18215 refactor: split up set and unset messages (#199)
* refactor: split up set and unset

* Update proto/greptime/v1/ddl.proto

Co-authored-by: Weny Xu <wenymedia@gmail.com>

---------

Co-authored-by: Weny Xu <wenymedia@gmail.com>
2024-11-20 12:45:06 +08:00
Yohan Wal fb4e2146b1 chore: rename flags (#200) 2024-11-15 14:38:11 +08:00
Yohan Wal 67bb1d52bc feat: alter fulltext index (#196) 2024-11-09 07:06:55 +08:00
Lei, HUANG 255f87a331 feat: add expr for altering table attributes (#192)
* feat: add expr for altering table attributes

* feat/add-modify-table-attr-expr:
 Added ChangeTableAttributes to AlterRequest in server.proto

 - Introduced ChangeTableAttributes message handling in AlterRequest.
 - Updated server.pb.cc and server.pb.h to include logic for new ChangeTableAttributes.
 - Altered Java Server class to support ChangeTableAttributes.
 - Incremented descriptor sizes and adjusted field offsets in server.pb.cc.

* chore: rename

* update: allow multiple options
2024-10-30 10:10:00 +08:00
jeremyhi 157cfdb527 feat: heartbeat extension field (#190)
* feat: heartbeat extemsion field

* feat: extension to extensions
2024-09-06 16:09:14 +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
Weny Xu e152fcbf17 feat: add QueryContext to DdlTaskRequest and FlowRequestHeader (#166) 2024-05-09 14:27:41 +08:00
Kelvin Wu a191edaea1 feat: add QueryContext to RegionRequestHeader (#156) 2024-05-06 12:49:26 +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
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
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
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
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
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
JeremyHi e81a60e817 feat: region storage path (#102) 2023-09-15 16:39:28 +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
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
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
Ruihang Xia 708866d505 chore: rename RegionServer to Region (#85)
* chore: rename RegionServer to Region

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

* add stream api

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

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2023-08-25 17:01:40 +08:00