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>
This commit is contained in:
Weny Xu
2024-11-21 19:08:03 +08:00
committed by GitHub
parent 0b90ddc7eb
commit a875e97644
10 changed files with 9845 additions and 2997 deletions
+7 -1
View File
@@ -47,7 +47,7 @@ message DropTableTask{
message DropTableTasks { repeated DropTableTask tasks = 1; }
message AlterTableTask{
AlterExpr alter_table = 1;
AlterTableExpr alter_table = 1;
}
message AlterTableTasks { repeated AlterTableTask tasks = 1; }
@@ -79,6 +79,11 @@ message DropViewTask {
DropViewExpr drop_view = 1;
}
// Alter database tasks
message AlterDatabaseTask {
AlterDatabaseExpr task = 1;
}
message DdlTaskRequest {
RequestHeader header = 1;
QueryContext query_context = 64;
@@ -97,6 +102,7 @@ message DdlTaskRequest {
DropFlowTask drop_flow_task = 12;
CreateViewTask create_view_task = 13;
DropViewTask drop_view_task = 14;
AlterDatabaseTask alter_database_task = 15;
}
}