feat: support alter skipping index (#215)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
@@ -121,6 +121,7 @@ message SetIndex {
|
||||
oneof options {
|
||||
SetFulltext fulltext = 1;
|
||||
SetInverted inverted = 2;
|
||||
SetSkipping skipping = 3;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -128,6 +129,7 @@ message UnsetIndex {
|
||||
oneof options {
|
||||
UnsetFulltext fulltext = 1;
|
||||
UnsetInverted inverted = 2;
|
||||
UnsetSkipping skipping = 3;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -248,6 +250,20 @@ message UnsetInverted {
|
||||
string column_name = 1;
|
||||
}
|
||||
|
||||
enum SkippingIndexType {
|
||||
BLOOM_FILTER = 0;
|
||||
}
|
||||
|
||||
message SetSkipping {
|
||||
string column_name = 1;
|
||||
bool enable = 2;
|
||||
uint64 granularity = 3;
|
||||
SkippingIndexType skipping_index_type = 4;
|
||||
}
|
||||
|
||||
message UnsetSkipping {
|
||||
string column_name = 1;
|
||||
}
|
||||
message AlterDatabaseExpr {
|
||||
string catalog_name = 1;
|
||||
string schema_name = 2;
|
||||
|
||||
Reference in New Issue
Block a user