Commit Graph

30 Commits

Author SHA1 Message Date
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
Weny Xu f539d95a4f feat: add table version to alter expr (#58) 2023-07-12 11:00:43 +08:00
Lei, HUANG 0f30b7fcbf feat: rebase upstream (#57) 2023-07-10 14:23:04 +08:00
Weny Xu 917ead6274 feat: Add DropTableTask, AlterTableTask (#54)
* feat: use type instead of pb bytes

* feat: add table_info to CreateTableTask

* fix: remove unused fields

* feat: bring create route method back

* feat: add table_id in SubmitDdlTaskResponse

* feat: add drop table task

* feat: add alter table task

* chore: allow large_enum_variant

* chore: apply suggestions from CR
2023-07-06 11:55:09 +08:00
Yingwen ff0a47b646 fix: rename region_id to region_number (#44)
* feat: build java codes by makefile

* feat: generate java code

* fix: rename region_id to region_number

* feat: generate code
2023-05-30 11:46:33 +08:00
Zheming Li 4204be285f feat: add location info when adding columns (#38) 2023-05-22 17:18:14 +08:00
Ruihang Xia d32c9d5e98 chore: add license header (#35)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
2023-05-18 14:27:17 +08:00
Weny Xu 59afacdae5 feat: add engine field for CreateTableExpr (#25) 2023-04-03 12:38:22 +08:00
Weny Xu ad01872950 feat: add FlushTableExpr to DdlRequest (#12) 2023-03-01 15:21:16 +08:00
Weny Xu 8365873e83 feat: add FlushTableExpr (#11) 2023-02-28 15:59:18 +08:00
zyy17 36147379c3 feat: add go protobuf generation (#6)
* feat: add go protobuf generation

* ci: check go protbuf generation

* refactor: use 'namely/protoc-all:1.51_1' to compile the proto instead of locally binary

* refactor: no need to add the 'bin/' igore

* chore: modify code format

* refactor: add some comments to describe our modification
2023-02-15 15:10:17 +08:00
LFC 328c41f292 publish GreptimeDB protobuf for Java using jitpack.io (#4) 2023-02-10 15:59:11 +08:00
LFC 6fadcf8c7a move protobuf from GreptimeDB (#1)
* move protobuf from GreptimeDB

* add license check

* add other github actions
2023-02-09 14:59:48 +08:00