Commit Graph

158 Commits

Author SHA1 Message Date
fys 69a6089933 feat: support-for-and-keep-firing-for-trigger (#282) 2025-10-17 12:07:43 +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
zyy17 8d31a8cd39 refactor: add hostname field in NodeInfo and use it in MetasrvNodeInfo (#278) 2025-10-16 10:57:57 +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
Ning Sun d75496d5d0 feat: add struct and list data type (#277)
* feat: add struct and list data type

* type extensions

* feat: extend column type

* chore: rename fields

* add value enum item

* feat: add value

* refactor: item->items

* feat: use single ListValue/StructValue for Row and Column
2025-10-09 11:07:20 +08:00
discord9 3e821d0d40 feat: add extension to heartbeat request (#275)
* feat: add extension to heartbeat request

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

* make all

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

---------

Signed-off-by: discord9 <discord9@163.com>
2025-09-19 12:23:19 +08:00
Weny Xu f9836cf8aa feat: add memory_bytes field (#274) 2025-09-08 16:32:11 +08:00
discord9 66eb089afa feat: flow add eval interval (#273)
* feat: create flow eval interval

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

* fix: eval interval

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

* chore: make all

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

* fix: flow create request

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>

---------

Signed-off-by: discord9 <discord9@163.com>
2025-08-27 16:21:27 +08:00
fys 4ce7e9a3ff refactor: enhanced trigger interval (#269)
* fix: improve interval precision

* chore: better name

* chore: add /opt/include to proto include

* remove empty line
2025-08-18 10:58:28 +08:00
liyang abeefa939c refactor: re-generate go grpc protobuf (#271)
Signed-off-by: liyang <daviderli614@gmail.com>
2025-08-15 11:10:31 +08:00
Zhenchi 9edc8c4d2a feat: add partition to CreateRequest (#267) 2025-08-13 14:39:49 -07:00
Weny Xu 69680846a0 feat: add TopicStat (#268)
* feat: add `TopicStat`

* chore: generate code
2025-08-13 19:21:39 +08: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 91c3d7b97a feat: introduce reconcile interface (#264)
* feat: introduce reconcile interface

* chore: gen set_header

* chore: add comments

* feat: return procedure_id

* feat: add `ResolveStragey` and `Parallelism` to request

* chore: apply suggestions from CR
2025-08-04 16:50:33 +08:00
Ruihang Xia cc56a6cdac feat: absent function in PromQL (#263)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2025-08-04 16:27:00 +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
Zhenchi 7fcaa3e413 feat: deprecate Region::Partition use partition expr instead (#256)
* feat: deprecate Region::Partition use partition expr instead

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

* merge origin/main

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

* put partition expr into Partition

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

---------

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
2025-07-23 10:30:51 +08:00
Weny Xu 36116a5c24 feat: introduce SetIndexes and UnsetIndexes (#253) 2025-07-22 10:50:09 +08:00
zyy17 5976122c46 refactor: generate all go proto (#257)
Signed-off-by: zyy17 <zyylsxm@gmail.com>
2025-07-21 10:13:20 +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
Zhenchi ceb1af4fa9 feat: add granularity and false_positive_rate options for indexes (#249)
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
2025-07-02 15:00:28 +08:00
fys 464226cf8a feat: support trigger drop (#248)
* feat: add trigger-drop proto

* remove trigger id of DropTriggerExpr
2025-06-24 11:06:43 -07: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
fys 454c52634c feat: add proto definition about trigger create (#241)
* feat: add trigger create

* chore: unified naming style

* chore: rename some fields

* chore: make all
2025-06-04 11:12:55 +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
Ruihang Xia 4d4136692f feat: add time index column to series divide plan (#238)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2025-05-21 19:27:49 -07:00
Weny Xu 7668a882d5 feat: introduce node workloads (#235)
* feat: introduce node workloads

* feat: add feature gate

* chore: apply suggestions from CR
2025-05-09 17:35:49 +08:00
LFC 159e92d30b feat: sst_min_sequences in QueryContext (#234) 2025-05-07 20:59:51 +08:00
discord9 e82b0158cd feat: add insert into logical plan in request (#231)
* feat: insert into logical plan

* chore: make all

* feat: use TableName instead

* chore: make all

* chore: per review
2025-04-18 20:03:23 +08:00
Ruihang Xia dd4a199698 feat: add tag_columns to series normalize plan (#223)
* feat: add tag_columns to series normalize plan

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

* feat: add `manifest_version` to `GrantedRegion` (#224)

* feat: add backend option to `SetFulltext` (#226)

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

* feat: add `extensions` field to `GrantedRegion` (#227)

---------

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
Co-authored-by: Weny Xu <wenymedia@gmail.com>
Co-authored-by: Zhenchi <zhongzc_arch@outlook.com>
2025-04-08 15:47:19 +08:00
Weny Xu 2be0f36b32 feat: add ProcedureStatus::Poisoned (#229) 2025-04-07 15:53:11 +08:00
Weny Xu fb8e20ce29 feat: add extensions field to GrantedRegion (#227) 2025-04-03 20:28:44 +08:00
Zhenchi 9327e1098c feat: add backend option to SetFulltext (#226)
Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
2025-04-02 18:07:15 +08:00
Weny Xu 103948cbce feat: add manifest_version to GrantedRegion (#224) 2025-03-31 14:18:13 +08:00
Yingwen 97e298d119 feat: add explain options to query request (#225)
* feat: add verbose flag

* feat: use options for explain

* chore: generate codes
2025-03-25 10:25:01 +08:00
AntiTopQuark c5419bbd20 feat: enhancement information_schema.flows (#221)
* feat:enhancement information_schema.flows

* chore: make all

---------

Co-authored-by: discord9 <discord9@163.com>
2025-03-11 21:15:10 +08:00
Lei, HUANG d92c9ac4e9 refactor/remove-cluster-id: (#220)
### Remove `cluster_id` Field from Protocol Buffers

 - **Removed `cluster_id` Field**: The `cluster_id` field has been removed from the `RequestHeader` and `ResponseHeader` messages across multiple langua
 bindings and source files. This includes updates to:
   - C++: `common.pb.cc`, `common.pb.h`
   - Go: `common.pb.go`
   - Java: `Common.java`
   - Proto: `common.proto`
   - Rust: `meta.rs`

 These changes streamline the protocol by eliminating the `cluster_id` field, simplifying the message structures and related logic.
2025-03-04 11:17:59 +08:00
LFC a25adc8a01 feat: add cpu cores count in heartbeat's node info (#217)
* feat: add cpu cores number to `NodeInfo`
2025-02-20 11:28:29 +08:00
Ruihang Xia fc09a56966 feat: support alter skipping index (#215)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2025-02-14 09:41:38 -08:00
discord9 e2fd89fce1 chore: rename SequenceSnapshot (#213)
* chore: per review

* chore: per review
2025-02-06 15:44:18 +08:00
discord9 b5d172fe61 feat: Query ctx snapshots (#212)
* feat: seq_snapshots field for query context

* chore: make

* chore: comment

* refactor: new type

* chore: rename

* chore: not fmt stuff
2025-02-06 15:19:12 +08:00
Weny Xu 6cee3db98a feat: add WriteHint and PrimaryKeyEncoding to Mutation (#209)
* feat: add `write_hint` to `Mutation`

* feat: introduce `PrimaryKeyEncoding` and `WriteHint`
2025-01-22 12:00:46 +08:00
Lanqing Yang 4a173785b3 feat: alter inverted index (#204) 2025-01-16 15:42:12 +08:00
Yingwen 43ddd8dea6 feat: add add_if_not_exists to AddColumn (#207)
* feat: add column if not exists

* chore: generate codes

* feat: add if not exists for each col

* chore: gen codes
2025-01-03 23:00:22 +08:00
Weny Xu a875e97644 feat: alter database ttl (#203)
* feat: alter database ttl

* chore: add ddl task

* chore: single task

* chore: remove options

* feat: add unset database options

---------

Co-authored-by: CookiePieWw <profsyb@gmail.com>
2024-11-21 19:08:03 +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