Commit Graph

96 Commits

Author SHA1 Message Date
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
discord9 e1070ad3e7 feat: flow replace option (#198)
* feat: flow replace

* chore: make

* refactor: rename

* chore: make all

* refactor: more rename

* chore: make all
2024-11-14 14:45:09 +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
Weny Xu 86ed051dfd chore: add json type (#194) 2024-10-30 04:12:24 +08:00
discord9 fc45ac4cce feat: flow state size (#193)
* feat: add flow state size

* chore: protoc

* refactor: use FlowId not uint64

* fix: use uint32

* chore: make
2024-10-29 17:06:51 +08:00
Weny Xu b4d301184e feat: rename replay_timeout_secs to timeout_secs (#191)
* feat: add `flush_timeout_secs` to `MigrateRegionRequest`

* chore: use `timeout_secs`

* feat: introduce `DowngradingLeader`
2024-10-17 13:13:26 +08:00
taobo 796ce9b003 feat: support for batch querying metadata information of procedure (#189)
* feat: support for batch querying metadata information of procedures

* optimize code

* optimize code

* add new field lock_keys

* fix: update time type
2024-09-19 11:40:35 +08:00
Yohan Wal 973f49cde8 feat: add json type proto (#188)
* feat: add type extension for json type

* refactor: use a extension type

* refactor: as enum
2024-09-09 16:14:58 +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
Ning Sun c437b55725 feat: add channel field to query context (#183)
* feat: add source field to query context

* refactor: rename field to channel

* chore: fix indent
2024-07-30 21:45:23 +08:00
discord9 7ca323090b feat: flush flow request (#182)
* feat: flush flow

* chore: make all

* chore: newline
2024-07-22 14:35:19 +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
Jeremyhi a70a6af9c6 feat: flownode role (#178) 2024-06-18 11:42:08 +08:00
Jeremyhi ae26136acc refactor: remove the table in ddl response (#175) 2024-05-31 14:23:53 +08: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
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
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 aba235025a refactor: remove duration type (#158) 2024-04-28 16:34:50 +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
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 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
JeremyHi a31ea166fc chore: big typos (#129)
* chore: big typos

* feat: 0.4.2
2023-12-15 11:55:39 +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