feat: support alter skipping index (#215)

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
Ruihang Xia
2025-02-14 09:41:38 -08:00
committed by GitHub
parent e2fd89fce1
commit fc09a56966
5 changed files with 4169 additions and 502 deletions
+16
View File
@@ -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;