Commit Graph

34 Commits

Author SHA1 Message Date
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
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