Commit Graph

47 Commits

Author SHA1 Message Date
fys 69a6089933 feat: support-for-and-keep-firing-for-trigger (#282) 2025-10-17 12:07:43 +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
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
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
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
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
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
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
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
dennis zhuang 5c80165043 feat: adds view definition to CreateViewExpr (#176)
* feat: adds view definition to CreateViewExpr

* feat: adds columns to CreateViewExpr

* feat: save plan columns as well

* chore: update proto
2024-07-09 10:56:57 -07:00
Zhenchi b83f00958f feat: add fulltext options for column (#179)
* feat: add fulltext options for column

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

* feat: use string instead

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

* chore: polish

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

* chore: copy every where

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

* doc: polish

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

* extract as message

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

---------

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
2024-07-08 13:07:34 -07:00
dennis zhuang 21ed40d4a1 feat: adds MergeScan plan node (#172)
* feat: adds dist_plan to substrait_extension

* feat: adds table_names to CreateViewExpr

* chore: style

Co-authored-by: Jeremyhi <jiachun_feng@proton.me>

* fix: update genearted code

---------

Co-authored-by: Jeremyhi <jiachun_feng@proton.me>
2024-05-31 11:09:22 +08:00
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
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 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
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
Yohan Wal b97efbf92a chore: change create database api (#143) 2024-04-09 17:29:04 +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
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
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
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
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 6d4131f57e feat: rm unused compact and flush (#95) 2023-08-30 19:03:48 +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
JeremyHi eeae2d0dfa refactor: common semantic type (#73) 2023-08-01 18:51:10 +08:00
Vanish e665c9ff3e feat: truncate table (#70) 2023-07-20 16:48:54 +08:00
LFC b3039bef25 refactor: using table id in RouteRequest and DeleteRequest (#61)
* refactor: using table id in RouteRequest and DeleteRequest
2023-07-12 17:46:50 +08:00
Lei, HUANG 7de3f31fd0 feat: support c++ targets (#60)
* feat: support c++ targets

* fix: compile all protos under ./proto

* chore: Apply suggestions from code review

---------

Co-authored-by: Yingwen <realevenyag@gmail.com>
2023-07-11 19:33:39 +08:00