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>
This commit is contained in:
Yohan Wal
2024-11-20 12:45:06 +08:00
committed by GitHub
parent fb4e2146b1
commit 58f8f18215
9 changed files with 2843 additions and 953 deletions
+7 -2
View File
@@ -110,7 +110,8 @@ message AlterExpr {
RenameTable rename_table = 6;
ModifyColumnTypes modify_column_types = 7;
ChangeTableOptions change_table_options = 8;
ChangeColumnFulltext change_column_fulltext = 9;
SetColumnFulltext set_column_fulltext = 9;
UnsetColumnFulltext unset_column_fulltext = 10;
}
}
@@ -205,9 +206,13 @@ enum Analyzer {
CHINESE = 1;
}
message ChangeColumnFulltext {
message SetColumnFulltext {
string column_name = 1;
bool enable = 2;
Analyzer analyzer = 3;
bool case_sensitive = 4;
}
message UnsetColumnFulltext {
string column_name = 1;
}