feat: add backend option to SetFulltext (#226)

Signed-off-by: Zhenchi <zhongzc_arch@outlook.com>
This commit is contained in:
Zhenchi
2025-04-02 18:07:15 +08:00
committed by GitHub
parent 103948cbce
commit 9327e1098c
5 changed files with 636 additions and 242 deletions
+240 -177
View File
@@ -80,6 +80,52 @@ func (Analyzer) EnumDescriptor() ([]byte, []int) {
return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{0}
}
type FulltextBackend int32
const (
FulltextBackend_TANTIVY FulltextBackend = 0
FulltextBackend_BLOOM FulltextBackend = 1
)
// Enum value maps for FulltextBackend.
var (
FulltextBackend_name = map[int32]string{
0: "TANTIVY",
1: "BLOOM",
}
FulltextBackend_value = map[string]int32{
"TANTIVY": 0,
"BLOOM": 1,
}
)
func (x FulltextBackend) Enum() *FulltextBackend {
p := new(FulltextBackend)
*p = x
return p
}
func (x FulltextBackend) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (FulltextBackend) Descriptor() protoreflect.EnumDescriptor {
return file_greptime_v1_ddl_proto_enumTypes[1].Descriptor()
}
func (FulltextBackend) Type() protoreflect.EnumType {
return &file_greptime_v1_ddl_proto_enumTypes[1]
}
func (x FulltextBackend) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use FulltextBackend.Descriptor instead.
func (FulltextBackend) EnumDescriptor() ([]byte, []int) {
return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{1}
}
type SkippingIndexType int32
const (
@@ -107,11 +153,11 @@ func (x SkippingIndexType) String() string {
}
func (SkippingIndexType) Descriptor() protoreflect.EnumDescriptor {
return file_greptime_v1_ddl_proto_enumTypes[1].Descriptor()
return file_greptime_v1_ddl_proto_enumTypes[2].Descriptor()
}
func (SkippingIndexType) Type() protoreflect.EnumType {
return &file_greptime_v1_ddl_proto_enumTypes[1]
return &file_greptime_v1_ddl_proto_enumTypes[2]
}
func (x SkippingIndexType) Number() protoreflect.EnumNumber {
@@ -120,7 +166,7 @@ func (x SkippingIndexType) Number() protoreflect.EnumNumber {
// Deprecated: Use SkippingIndexType.Descriptor instead.
func (SkippingIndexType) EnumDescriptor() ([]byte, []int) {
return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{1}
return file_greptime_v1_ddl_proto_rawDescGZIP(), []int{2}
}
type AddColumnLocation_LocationType int32
@@ -153,11 +199,11 @@ func (x AddColumnLocation_LocationType) String() string {
}
func (AddColumnLocation_LocationType) Descriptor() protoreflect.EnumDescriptor {
return file_greptime_v1_ddl_proto_enumTypes[2].Descriptor()
return file_greptime_v1_ddl_proto_enumTypes[3].Descriptor()
}
func (AddColumnLocation_LocationType) Type() protoreflect.EnumType {
return &file_greptime_v1_ddl_proto_enumTypes[2]
return &file_greptime_v1_ddl_proto_enumTypes[3]
}
func (x AddColumnLocation_LocationType) Number() protoreflect.EnumNumber {
@@ -2318,10 +2364,11 @@ type SetFulltext struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"`
Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
Analyzer Analyzer `protobuf:"varint,3,opt,name=analyzer,proto3,enum=greptime.v1.Analyzer" json:"analyzer,omitempty"`
CaseSensitive bool `protobuf:"varint,4,opt,name=case_sensitive,json=caseSensitive,proto3" json:"case_sensitive,omitempty"`
ColumnName string `protobuf:"bytes,1,opt,name=column_name,json=columnName,proto3" json:"column_name,omitempty"`
Enable bool `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
Analyzer Analyzer `protobuf:"varint,3,opt,name=analyzer,proto3,enum=greptime.v1.Analyzer" json:"analyzer,omitempty"`
CaseSensitive bool `protobuf:"varint,4,opt,name=case_sensitive,json=caseSensitive,proto3" json:"case_sensitive,omitempty"`
Backend FulltextBackend `protobuf:"varint,5,opt,name=backend,proto3,enum=greptime.v1.FulltextBackend" json:"backend,omitempty"`
}
func (x *SetFulltext) Reset() {
@@ -2384,6 +2431,13 @@ func (x *SetFulltext) GetCaseSensitive() bool {
return false
}
func (x *SetFulltext) GetBackend() FulltextBackend {
if x != nil {
return x.Backend
}
return FulltextBackend_TANTIVY
}
type UnsetFulltext struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -3206,7 +3260,7 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x66, 0x74, 0x65, 0x72, 0x43, 0x6f,
0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x24, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x49, 0x52, 0x53,
0x54, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x46, 0x54, 0x45, 0x52, 0x10, 0x01, 0x22, 0xa0,
0x54, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x46, 0x54, 0x45, 0x52, 0x10, 0x01, 0x22, 0xd8,
0x01, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1f,
0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12,
@@ -3217,66 +3271,73 @@ var file_greptime_v1_ddl_proto_rawDesc = []byte{
0x52, 0x08, 0x61, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x61,
0x73, 0x65, 0x5f, 0x73, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76, 0x65, 0x18, 0x04, 0x20, 0x01,
0x28, 0x08, 0x52, 0x0d, 0x63, 0x61, 0x73, 0x65, 0x53, 0x65, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x76,
0x65, 0x22, 0x30, 0x0a, 0x0d, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65,
0x78, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e,
0x61, 0x6d, 0x65, 0x22, 0x2e, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74,
0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e,
0x61, 0x6d, 0x65, 0x22, 0x30, 0x0a, 0x0d, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65,
0x72, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e,
0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d,
0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xb8, 0x01, 0x0a, 0x0b, 0x53, 0x65, 0x74, 0x53, 0x6b, 0x69,
0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f,
0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75,
0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65,
0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x20,
0x0a, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20,
0x01, 0x28, 0x04, 0x52, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79,
0x12, 0x4e, 0x0a, 0x13, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x64,
0x65, 0x78, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e,
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6b, 0x69, 0x70,
0x70, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x73,
0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65,
0x22, 0x30, 0x0a, 0x0d, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e,
0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61,
0x6d, 0x65, 0x22, 0x8f, 0x02, 0x0a, 0x11, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61,
0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61,
0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73,
0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x53, 0x0a, 0x14,
0x73, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6f, 0x70, 0x74,
0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65,
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61,
0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x12, 0x73,
0x65, 0x12, 0x36, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01,
0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
0x2e, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x22, 0x30, 0x0a, 0x0d, 0x55, 0x6e, 0x73,
0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f,
0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x2e, 0x0a, 0x0b, 0x53,
0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f,
0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x30, 0x0a, 0x0d, 0x55,
0x6e, 0x73, 0x65, 0x74, 0x49, 0x6e, 0x76, 0x65, 0x72, 0x74, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b,
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xb8, 0x01,
0x0a, 0x0b, 0x53, 0x65, 0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x0a,
0x0b, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16,
0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06,
0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c,
0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x67, 0x72, 0x61,
0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x4e, 0x0a, 0x13, 0x73, 0x6b, 0x69, 0x70,
0x70, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65,
0x2e, 0x76, 0x31, 0x2e, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x64, 0x65,
0x78, 0x54, 0x79, 0x70, 0x65, 0x52, 0x11, 0x73, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x49,
0x6e, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x22, 0x30, 0x0a, 0x0d, 0x55, 0x6e, 0x73, 0x65,
0x74, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6c,
0x75, 0x6d, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x8f, 0x02, 0x0a, 0x11, 0x41,
0x6c, 0x74, 0x65, 0x72, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x45, 0x78, 0x70, 0x72,
0x12, 0x21, 0x0a, 0x0c, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x5f, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x4e,
0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
0x4e, 0x61, 0x6d, 0x65, 0x12, 0x53, 0x0a, 0x14, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61,
0x62, 0x61, 0x73, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31,
0x2e, 0x53, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69,
0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x12, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x59, 0x0a, 0x16, 0x75, 0x6e, 0x73,
0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69,
0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70,
0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74,
0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x14,
0x75, 0x6e, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74,
0x69, 0x6f, 0x6e, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x22, 0x5b, 0x0a, 0x12,
0x53, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f,
0x6e, 0x73, 0x12, 0x45, 0x0a, 0x14, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61,
0x73, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f,
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x2a, 0x0a, 0x14, 0x55, 0x6e, 0x73,
0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
0x73, 0x12, 0x59, 0x0a, 0x16, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62,
0x61, 0x73, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e,
0x55, 0x6e, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74,
0x69, 0x6f, 0x6e, 0x73, 0x48, 0x00, 0x52, 0x14, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74,
0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x06, 0x0a, 0x04,
0x6b, 0x69, 0x6e, 0x64, 0x22, 0x5b, 0x0a, 0x12, 0x53, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62,
0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x45, 0x0a, 0x14, 0x73, 0x65,
0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f,
0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74,
0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x73,
0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
0x73, 0x22, 0x2a, 0x0a, 0x14, 0x55, 0x6e, 0x73, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
0x73, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x65, 0x79,
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x2a, 0x24, 0x0a,
0x08, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65, 0x72, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x47,
0x4c, 0x49, 0x53, 0x48, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x48, 0x49, 0x4e, 0x45, 0x53,
0x45, 0x10, 0x01, 0x2a, 0x25, 0x0a, 0x11, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x49,
0x6e, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x42, 0x4c, 0x4f, 0x4f,
0x4d, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x10, 0x00, 0x42, 0x4c, 0x0a, 0x0e, 0x69, 0x6f,
0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x03, 0x44, 0x64,
0x6c, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x47, 0x72,
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72, 0x65, 0x70, 0x74,
0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x67, 0x72, 0x65,
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
0x73, 0x12, 0x12, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52,
0x04, 0x6b, 0x65, 0x79, 0x73, 0x2a, 0x24, 0x0a, 0x08, 0x41, 0x6e, 0x61, 0x6c, 0x79, 0x7a, 0x65,
0x72, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x47, 0x4c, 0x49, 0x53, 0x48, 0x10, 0x00, 0x12, 0x0b,
0x0a, 0x07, 0x43, 0x48, 0x49, 0x4e, 0x45, 0x53, 0x45, 0x10, 0x01, 0x2a, 0x29, 0x0a, 0x0f, 0x46,
0x75, 0x6c, 0x6c, 0x74, 0x65, 0x78, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x0b,
0x0a, 0x07, 0x54, 0x41, 0x4e, 0x54, 0x49, 0x56, 0x59, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x42,
0x4c, 0x4f, 0x4f, 0x4d, 0x10, 0x01, 0x2a, 0x25, 0x0a, 0x11, 0x53, 0x6b, 0x69, 0x70, 0x70, 0x69,
0x6e, 0x67, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x42,
0x4c, 0x4f, 0x4f, 0x4d, 0x5f, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x10, 0x00, 0x42, 0x4c, 0x0a,
0x0e, 0x69, 0x6f, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x42,
0x03, 0x44, 0x64, 0x6c, 0x5a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
0x2f, 0x47, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x54, 0x65, 0x61, 0x6d, 0x2f, 0x67, 0x72,
0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f,
0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (
@@ -3291,119 +3352,121 @@ func file_greptime_v1_ddl_proto_rawDescGZIP() []byte {
return file_greptime_v1_ddl_proto_rawDescData
}
var file_greptime_v1_ddl_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_greptime_v1_ddl_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
var file_greptime_v1_ddl_proto_msgTypes = make([]protoimpl.MessageInfo, 39)
var file_greptime_v1_ddl_proto_goTypes = []interface{}{
(Analyzer)(0), // 0: greptime.v1.Analyzer
(SkippingIndexType)(0), // 1: greptime.v1.SkippingIndexType
(AddColumnLocation_LocationType)(0), // 2: greptime.v1.AddColumnLocation.LocationType
(*DdlRequest)(nil), // 3: greptime.v1.DdlRequest
(*CreateFlowExpr)(nil), // 4: greptime.v1.CreateFlowExpr
(*DropFlowExpr)(nil), // 5: greptime.v1.DropFlowExpr
(*CreateViewExpr)(nil), // 6: greptime.v1.CreateViewExpr
(*DropViewExpr)(nil), // 7: greptime.v1.DropViewExpr
(*CreateTableExpr)(nil), // 8: greptime.v1.CreateTableExpr
(*AlterTableExpr)(nil), // 9: greptime.v1.AlterTableExpr
(*SetIndex)(nil), // 10: greptime.v1.SetIndex
(*UnsetIndex)(nil), // 11: greptime.v1.UnsetIndex
(*DropTableExpr)(nil), // 12: greptime.v1.DropTableExpr
(*CreateDatabaseExpr)(nil), // 13: greptime.v1.CreateDatabaseExpr
(*TruncateTableExpr)(nil), // 14: greptime.v1.TruncateTableExpr
(*DropDatabaseExpr)(nil), // 15: greptime.v1.DropDatabaseExpr
(*AddColumns)(nil), // 16: greptime.v1.AddColumns
(*DropColumns)(nil), // 17: greptime.v1.DropColumns
(*ModifyColumnTypes)(nil), // 18: greptime.v1.ModifyColumnTypes
(*RenameTable)(nil), // 19: greptime.v1.RenameTable
(*AddColumn)(nil), // 20: greptime.v1.AddColumn
(*ModifyColumnType)(nil), // 21: greptime.v1.ModifyColumnType
(*Option)(nil), // 22: greptime.v1.Option
(*SetTableOptions)(nil), // 23: greptime.v1.SetTableOptions
(*UnsetTableOptions)(nil), // 24: greptime.v1.UnsetTableOptions
(*DropColumn)(nil), // 25: greptime.v1.DropColumn
(*TableId)(nil), // 26: greptime.v1.TableId
(*FlowId)(nil), // 27: greptime.v1.FlowId
(*ColumnDef)(nil), // 28: greptime.v1.ColumnDef
(*AddColumnLocation)(nil), // 29: greptime.v1.AddColumnLocation
(*SetFulltext)(nil), // 30: greptime.v1.SetFulltext
(*UnsetFulltext)(nil), // 31: greptime.v1.UnsetFulltext
(*SetInverted)(nil), // 32: greptime.v1.SetInverted
(*UnsetInverted)(nil), // 33: greptime.v1.UnsetInverted
(*SetSkipping)(nil), // 34: greptime.v1.SetSkipping
(*UnsetSkipping)(nil), // 35: greptime.v1.UnsetSkipping
(*AlterDatabaseExpr)(nil), // 36: greptime.v1.AlterDatabaseExpr
(*SetDatabaseOptions)(nil), // 37: greptime.v1.SetDatabaseOptions
(*UnsetDatabaseOptions)(nil), // 38: greptime.v1.UnsetDatabaseOptions
nil, // 39: greptime.v1.CreateFlowExpr.FlowOptionsEntry
nil, // 40: greptime.v1.CreateTableExpr.TableOptionsEntry
nil, // 41: greptime.v1.CreateDatabaseExpr.OptionsEntry
(*TableName)(nil), // 42: greptime.v1.TableName
(*ExpireAfter)(nil), // 43: greptime.v1.ExpireAfter
(ColumnDataType)(0), // 44: greptime.v1.ColumnDataType
(*ColumnDataTypeExtension)(nil), // 45: greptime.v1.ColumnDataTypeExtension
(SemanticType)(0), // 46: greptime.v1.SemanticType
(*ColumnOptions)(nil), // 47: greptime.v1.ColumnOptions
(FulltextBackend)(0), // 1: greptime.v1.FulltextBackend
(SkippingIndexType)(0), // 2: greptime.v1.SkippingIndexType
(AddColumnLocation_LocationType)(0), // 3: greptime.v1.AddColumnLocation.LocationType
(*DdlRequest)(nil), // 4: greptime.v1.DdlRequest
(*CreateFlowExpr)(nil), // 5: greptime.v1.CreateFlowExpr
(*DropFlowExpr)(nil), // 6: greptime.v1.DropFlowExpr
(*CreateViewExpr)(nil), // 7: greptime.v1.CreateViewExpr
(*DropViewExpr)(nil), // 8: greptime.v1.DropViewExpr
(*CreateTableExpr)(nil), // 9: greptime.v1.CreateTableExpr
(*AlterTableExpr)(nil), // 10: greptime.v1.AlterTableExpr
(*SetIndex)(nil), // 11: greptime.v1.SetIndex
(*UnsetIndex)(nil), // 12: greptime.v1.UnsetIndex
(*DropTableExpr)(nil), // 13: greptime.v1.DropTableExpr
(*CreateDatabaseExpr)(nil), // 14: greptime.v1.CreateDatabaseExpr
(*TruncateTableExpr)(nil), // 15: greptime.v1.TruncateTableExpr
(*DropDatabaseExpr)(nil), // 16: greptime.v1.DropDatabaseExpr
(*AddColumns)(nil), // 17: greptime.v1.AddColumns
(*DropColumns)(nil), // 18: greptime.v1.DropColumns
(*ModifyColumnTypes)(nil), // 19: greptime.v1.ModifyColumnTypes
(*RenameTable)(nil), // 20: greptime.v1.RenameTable
(*AddColumn)(nil), // 21: greptime.v1.AddColumn
(*ModifyColumnType)(nil), // 22: greptime.v1.ModifyColumnType
(*Option)(nil), // 23: greptime.v1.Option
(*SetTableOptions)(nil), // 24: greptime.v1.SetTableOptions
(*UnsetTableOptions)(nil), // 25: greptime.v1.UnsetTableOptions
(*DropColumn)(nil), // 26: greptime.v1.DropColumn
(*TableId)(nil), // 27: greptime.v1.TableId
(*FlowId)(nil), // 28: greptime.v1.FlowId
(*ColumnDef)(nil), // 29: greptime.v1.ColumnDef
(*AddColumnLocation)(nil), // 30: greptime.v1.AddColumnLocation
(*SetFulltext)(nil), // 31: greptime.v1.SetFulltext
(*UnsetFulltext)(nil), // 32: greptime.v1.UnsetFulltext
(*SetInverted)(nil), // 33: greptime.v1.SetInverted
(*UnsetInverted)(nil), // 34: greptime.v1.UnsetInverted
(*SetSkipping)(nil), // 35: greptime.v1.SetSkipping
(*UnsetSkipping)(nil), // 36: greptime.v1.UnsetSkipping
(*AlterDatabaseExpr)(nil), // 37: greptime.v1.AlterDatabaseExpr
(*SetDatabaseOptions)(nil), // 38: greptime.v1.SetDatabaseOptions
(*UnsetDatabaseOptions)(nil), // 39: greptime.v1.UnsetDatabaseOptions
nil, // 40: greptime.v1.CreateFlowExpr.FlowOptionsEntry
nil, // 41: greptime.v1.CreateTableExpr.TableOptionsEntry
nil, // 42: greptime.v1.CreateDatabaseExpr.OptionsEntry
(*TableName)(nil), // 43: greptime.v1.TableName
(*ExpireAfter)(nil), // 44: greptime.v1.ExpireAfter
(ColumnDataType)(0), // 45: greptime.v1.ColumnDataType
(*ColumnDataTypeExtension)(nil), // 46: greptime.v1.ColumnDataTypeExtension
(SemanticType)(0), // 47: greptime.v1.SemanticType
(*ColumnOptions)(nil), // 48: greptime.v1.ColumnOptions
}
var file_greptime_v1_ddl_proto_depIdxs = []int32{
13, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr
8, // 1: greptime.v1.DdlRequest.create_table:type_name -> greptime.v1.CreateTableExpr
9, // 2: greptime.v1.DdlRequest.alter_table:type_name -> greptime.v1.AlterTableExpr
12, // 3: greptime.v1.DdlRequest.drop_table:type_name -> greptime.v1.DropTableExpr
14, // 4: greptime.v1.DdlRequest.truncate_table:type_name -> greptime.v1.TruncateTableExpr
4, // 5: greptime.v1.DdlRequest.create_flow:type_name -> greptime.v1.CreateFlowExpr
5, // 6: greptime.v1.DdlRequest.drop_flow:type_name -> greptime.v1.DropFlowExpr
6, // 7: greptime.v1.DdlRequest.create_view:type_name -> greptime.v1.CreateViewExpr
7, // 8: greptime.v1.DdlRequest.drop_view:type_name -> greptime.v1.DropViewExpr
36, // 9: greptime.v1.DdlRequest.alter_database:type_name -> greptime.v1.AlterDatabaseExpr
42, // 10: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName
42, // 11: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName
43, // 12: greptime.v1.CreateFlowExpr.expire_after:type_name -> greptime.v1.ExpireAfter
39, // 13: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry
27, // 14: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId
42, // 15: greptime.v1.CreateViewExpr.table_names:type_name -> greptime.v1.TableName
26, // 16: greptime.v1.DropViewExpr.view_id:type_name -> greptime.v1.TableId
28, // 17: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef
40, // 18: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry
26, // 19: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId
16, // 20: greptime.v1.AlterTableExpr.add_columns:type_name -> greptime.v1.AddColumns
17, // 21: greptime.v1.AlterTableExpr.drop_columns:type_name -> greptime.v1.DropColumns
19, // 22: greptime.v1.AlterTableExpr.rename_table:type_name -> greptime.v1.RenameTable
18, // 23: greptime.v1.AlterTableExpr.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes
23, // 24: greptime.v1.AlterTableExpr.set_table_options:type_name -> greptime.v1.SetTableOptions
24, // 25: greptime.v1.AlterTableExpr.unset_table_options:type_name -> greptime.v1.UnsetTableOptions
10, // 26: greptime.v1.AlterTableExpr.set_index:type_name -> greptime.v1.SetIndex
11, // 27: greptime.v1.AlterTableExpr.unset_index:type_name -> greptime.v1.UnsetIndex
30, // 28: greptime.v1.SetIndex.fulltext:type_name -> greptime.v1.SetFulltext
32, // 29: greptime.v1.SetIndex.inverted:type_name -> greptime.v1.SetInverted
34, // 30: greptime.v1.SetIndex.skipping:type_name -> greptime.v1.SetSkipping
31, // 31: greptime.v1.UnsetIndex.fulltext:type_name -> greptime.v1.UnsetFulltext
33, // 32: greptime.v1.UnsetIndex.inverted:type_name -> greptime.v1.UnsetInverted
35, // 33: greptime.v1.UnsetIndex.skipping:type_name -> greptime.v1.UnsetSkipping
26, // 34: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId
41, // 35: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry
26, // 36: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId
20, // 37: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn
25, // 38: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn
21, // 39: greptime.v1.ModifyColumnTypes.modify_column_types:type_name -> greptime.v1.ModifyColumnType
28, // 40: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef
29, // 41: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation
44, // 42: greptime.v1.ModifyColumnType.target_type:type_name -> greptime.v1.ColumnDataType
45, // 43: greptime.v1.ModifyColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension
22, // 44: greptime.v1.SetTableOptions.table_options:type_name -> greptime.v1.Option
44, // 45: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType
46, // 46: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType
45, // 47: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
47, // 48: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions
2, // 49: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType
14, // 0: greptime.v1.DdlRequest.create_database:type_name -> greptime.v1.CreateDatabaseExpr
9, // 1: greptime.v1.DdlRequest.create_table:type_name -> greptime.v1.CreateTableExpr
10, // 2: greptime.v1.DdlRequest.alter_table:type_name -> greptime.v1.AlterTableExpr
13, // 3: greptime.v1.DdlRequest.drop_table:type_name -> greptime.v1.DropTableExpr
15, // 4: greptime.v1.DdlRequest.truncate_table:type_name -> greptime.v1.TruncateTableExpr
5, // 5: greptime.v1.DdlRequest.create_flow:type_name -> greptime.v1.CreateFlowExpr
6, // 6: greptime.v1.DdlRequest.drop_flow:type_name -> greptime.v1.DropFlowExpr
7, // 7: greptime.v1.DdlRequest.create_view:type_name -> greptime.v1.CreateViewExpr
8, // 8: greptime.v1.DdlRequest.drop_view:type_name -> greptime.v1.DropViewExpr
37, // 9: greptime.v1.DdlRequest.alter_database:type_name -> greptime.v1.AlterDatabaseExpr
43, // 10: greptime.v1.CreateFlowExpr.source_table_names:type_name -> greptime.v1.TableName
43, // 11: greptime.v1.CreateFlowExpr.sink_table_name:type_name -> greptime.v1.TableName
44, // 12: greptime.v1.CreateFlowExpr.expire_after:type_name -> greptime.v1.ExpireAfter
40, // 13: greptime.v1.CreateFlowExpr.flow_options:type_name -> greptime.v1.CreateFlowExpr.FlowOptionsEntry
28, // 14: greptime.v1.DropFlowExpr.flow_id:type_name -> greptime.v1.FlowId
43, // 15: greptime.v1.CreateViewExpr.table_names:type_name -> greptime.v1.TableName
27, // 16: greptime.v1.DropViewExpr.view_id:type_name -> greptime.v1.TableId
29, // 17: greptime.v1.CreateTableExpr.column_defs:type_name -> greptime.v1.ColumnDef
41, // 18: greptime.v1.CreateTableExpr.table_options:type_name -> greptime.v1.CreateTableExpr.TableOptionsEntry
27, // 19: greptime.v1.CreateTableExpr.table_id:type_name -> greptime.v1.TableId
17, // 20: greptime.v1.AlterTableExpr.add_columns:type_name -> greptime.v1.AddColumns
18, // 21: greptime.v1.AlterTableExpr.drop_columns:type_name -> greptime.v1.DropColumns
20, // 22: greptime.v1.AlterTableExpr.rename_table:type_name -> greptime.v1.RenameTable
19, // 23: greptime.v1.AlterTableExpr.modify_column_types:type_name -> greptime.v1.ModifyColumnTypes
24, // 24: greptime.v1.AlterTableExpr.set_table_options:type_name -> greptime.v1.SetTableOptions
25, // 25: greptime.v1.AlterTableExpr.unset_table_options:type_name -> greptime.v1.UnsetTableOptions
11, // 26: greptime.v1.AlterTableExpr.set_index:type_name -> greptime.v1.SetIndex
12, // 27: greptime.v1.AlterTableExpr.unset_index:type_name -> greptime.v1.UnsetIndex
31, // 28: greptime.v1.SetIndex.fulltext:type_name -> greptime.v1.SetFulltext
33, // 29: greptime.v1.SetIndex.inverted:type_name -> greptime.v1.SetInverted
35, // 30: greptime.v1.SetIndex.skipping:type_name -> greptime.v1.SetSkipping
32, // 31: greptime.v1.UnsetIndex.fulltext:type_name -> greptime.v1.UnsetFulltext
34, // 32: greptime.v1.UnsetIndex.inverted:type_name -> greptime.v1.UnsetInverted
36, // 33: greptime.v1.UnsetIndex.skipping:type_name -> greptime.v1.UnsetSkipping
27, // 34: greptime.v1.DropTableExpr.table_id:type_name -> greptime.v1.TableId
42, // 35: greptime.v1.CreateDatabaseExpr.options:type_name -> greptime.v1.CreateDatabaseExpr.OptionsEntry
27, // 36: greptime.v1.TruncateTableExpr.table_id:type_name -> greptime.v1.TableId
21, // 37: greptime.v1.AddColumns.add_columns:type_name -> greptime.v1.AddColumn
26, // 38: greptime.v1.DropColumns.drop_columns:type_name -> greptime.v1.DropColumn
22, // 39: greptime.v1.ModifyColumnTypes.modify_column_types:type_name -> greptime.v1.ModifyColumnType
29, // 40: greptime.v1.AddColumn.column_def:type_name -> greptime.v1.ColumnDef
30, // 41: greptime.v1.AddColumn.location:type_name -> greptime.v1.AddColumnLocation
45, // 42: greptime.v1.ModifyColumnType.target_type:type_name -> greptime.v1.ColumnDataType
46, // 43: greptime.v1.ModifyColumnType.target_type_extension:type_name -> greptime.v1.ColumnDataTypeExtension
23, // 44: greptime.v1.SetTableOptions.table_options:type_name -> greptime.v1.Option
45, // 45: greptime.v1.ColumnDef.data_type:type_name -> greptime.v1.ColumnDataType
47, // 46: greptime.v1.ColumnDef.semantic_type:type_name -> greptime.v1.SemanticType
46, // 47: greptime.v1.ColumnDef.datatype_extension:type_name -> greptime.v1.ColumnDataTypeExtension
48, // 48: greptime.v1.ColumnDef.options:type_name -> greptime.v1.ColumnOptions
3, // 49: greptime.v1.AddColumnLocation.location_type:type_name -> greptime.v1.AddColumnLocation.LocationType
0, // 50: greptime.v1.SetFulltext.analyzer:type_name -> greptime.v1.Analyzer
1, // 51: greptime.v1.SetSkipping.skipping_index_type:type_name -> greptime.v1.SkippingIndexType
37, // 52: greptime.v1.AlterDatabaseExpr.set_database_options:type_name -> greptime.v1.SetDatabaseOptions
38, // 53: greptime.v1.AlterDatabaseExpr.unset_database_options:type_name -> greptime.v1.UnsetDatabaseOptions
22, // 54: greptime.v1.SetDatabaseOptions.set_database_options:type_name -> greptime.v1.Option
55, // [55:55] is the sub-list for method output_type
55, // [55:55] is the sub-list for method input_type
55, // [55:55] is the sub-list for extension type_name
55, // [55:55] is the sub-list for extension extendee
0, // [0:55] is the sub-list for field type_name
1, // 51: greptime.v1.SetFulltext.backend:type_name -> greptime.v1.FulltextBackend
2, // 52: greptime.v1.SetSkipping.skipping_index_type:type_name -> greptime.v1.SkippingIndexType
38, // 53: greptime.v1.AlterDatabaseExpr.set_database_options:type_name -> greptime.v1.SetDatabaseOptions
39, // 54: greptime.v1.AlterDatabaseExpr.unset_database_options:type_name -> greptime.v1.UnsetDatabaseOptions
23, // 55: greptime.v1.SetDatabaseOptions.set_database_options:type_name -> greptime.v1.Option
56, // [56:56] is the sub-list for method output_type
56, // [56:56] is the sub-list for method input_type
56, // [56:56] is the sub-list for extension type_name
56, // [56:56] is the sub-list for extension extendee
0, // [0:56] is the sub-list for field type_name
}
func init() { file_greptime_v1_ddl_proto_init() }
@@ -3887,7 +3950,7 @@ func file_greptime_v1_ddl_proto_init() {
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_greptime_v1_ddl_proto_rawDesc,
NumEnums: 3,
NumEnums: 4,
NumMessages: 39,
NumExtensions: 0,
NumServices: 0,