From 6c95f3065923d215fc2aaa5e701cd6343c9373d7 Mon Sep 17 00:00:00 2001 From: smellthemoon <64083300+smellthemoon@users.noreply.github.com> Date: Sun, 7 Apr 2024 16:17:10 +0800 Subject: [PATCH] enhance: support null (#267) Signed-off-by: lixinguo Co-authored-by: lixinguo --- go-api/schemapb/schema.pb.go | 226 +++++++++++++++++++---------------- proto/schema.proto | 2 + 2 files changed, 124 insertions(+), 104 deletions(-) diff --git a/go-api/schemapb/schema.pb.go b/go-api/schemapb/schema.pb.go index 1dd1fc3..fa8203f 100644 --- a/go-api/schemapb/schema.pb.go +++ b/go-api/schemapb/schema.pb.go @@ -143,6 +143,7 @@ type FieldSchema struct { IsDynamic bool `protobuf:"varint,12,opt,name=is_dynamic,json=isDynamic,proto3" json:"is_dynamic,omitempty"` IsPartitionKey bool `protobuf:"varint,13,opt,name=is_partition_key,json=isPartitionKey,proto3" json:"is_partition_key,omitempty"` IsClusteringKey bool `protobuf:"varint,14,opt,name=is_clustering_key,json=isClusteringKey,proto3" json:"is_clustering_key,omitempty"` + Nullable bool `protobuf:"varint,15,opt,name=nullable,proto3" json:"nullable,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -271,6 +272,13 @@ func (m *FieldSchema) GetIsClusteringKey() bool { return false } +func (m *FieldSchema) GetNullable() bool { + if m != nil { + return m.Nullable + } + return false +} + // * // @brief Collection schema type CollectionSchema struct { @@ -1249,6 +1257,7 @@ type FieldData struct { Field isFieldData_Field `protobuf_oneof:"field"` FieldId int64 `protobuf:"varint,5,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"` IsDynamic bool `protobuf:"varint,6,opt,name=is_dynamic,json=isDynamic,proto3" json:"is_dynamic,omitempty"` + ValidData []bool `protobuf:"varint,7,rep,packed,name=valid_data,json=validData,proto3" json:"valid_data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` @@ -1344,6 +1353,13 @@ func (m *FieldData) GetIsDynamic() bool { return false } +func (m *FieldData) GetValidData() []bool { + if m != nil { + return m.ValidData + } + return nil +} + // XXX_OneofWrappers is for the internal use of the proto package. func (*FieldData) XXX_OneofWrappers() []interface{} { return []interface{}{ @@ -1711,109 +1727,111 @@ func init() { func init() { proto.RegisterFile("schema.proto", fileDescriptor_1c5fb4d8cc22d66a) } var fileDescriptor_1c5fb4d8cc22d66a = []byte{ - // 1662 bytes of a gzipped FileDescriptorProto + // 1689 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x57, 0xcd, 0x72, 0x23, 0x49, - 0x11, 0x76, 0xab, 0xf5, 0xd3, 0xca, 0x96, 0x35, 0xed, 0x1a, 0xcf, 0x6c, 0x33, 0xe0, 0xb5, 0x46, - 0xb0, 0x81, 0xd6, 0xc1, 0xda, 0x8c, 0x77, 0x18, 0x96, 0x8d, 0xdd, 0xc0, 0x2b, 0x29, 0x8c, 0x85, - 0x61, 0xd6, 0xb4, 0x09, 0x13, 0xc1, 0xa5, 0xa3, 0xd4, 0x5d, 0x96, 0x6b, 0xa7, 0xd5, 0xd5, 0x74, - 0x55, 0x3b, 0xd0, 0x1d, 0x9e, 0x80, 0xe0, 0xc6, 0x01, 0xae, 0xbc, 0x05, 0x2f, 0xc1, 0x91, 0x57, - 0xe0, 0xc8, 0x95, 0xa8, 0x1f, 0xfd, 0x4b, 0x5e, 0xcf, 0xad, 0x2a, 0xeb, 0xcb, 0xac, 0xca, 0xcc, - 0x2f, 0xb3, 0xb3, 0xa1, 0xc1, 0xa3, 0x3b, 0x32, 0xc6, 0xc7, 0x59, 0xce, 0x04, 0x43, 0x4f, 0xc7, - 0x34, 0xb9, 0x2f, 0xb8, 0xde, 0x1d, 0xeb, 0xa3, 0x17, 0x8d, 0x88, 0x8d, 0xc7, 0x2c, 0xd5, 0xc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xdd, 0x59, 0xce, 0xa8, 0x62, 0xb1, 0xbf, 0x83, 0xd6, 0x67, + 0x12, 0xfd, 0x6a, 0x67, 0x26, 0xea, 0xe5, 0x22, 0xcb, 0xb4, 0xa8, 0x34, 0xd3, 0x43, 0x11, 0x8b, + 0xfd, 0x72, 0x77, 0x0c, 0x4d, 0x2e, 0xa6, 0xf9, 0x18, 0xe5, 0xd9, 0xb0, 0xeb, 0x99, 0x5f, 0xa6, + 0x0b, 0x9d, 0x9b, 0x0b, 0xe7, 0xf7, 0x2f, 0x46, 0x5c, 0xdd, 0x14, 0x03, 0xfd, 0x93, 0x73, 0x62, + 0x60, 0x9f, 0x70, 0x31, 0x5d, 0x61, 0x02, 0x4f, 0x46, 0xe2, 0x13, 0x9a, 0xf1, 0x93, 0xdb, 0xd3, + 0x13, 0x93, 0xca, 0x6c, 0xf0, 0x57, 0xc7, 0xf9, 0x7b, 0x89, 0xfc, 0xda, 0x58, 0x3d, 0x4b, 0x38, + 0x4b, 0xd5, 0xf1, 0x2f, 0xf2, 0x6c, 0x38, 0xa8, 0xa1, 0xc6, 0xa7, 0xff, 0x0f, 0x00, 0x00, 0xff, + 0xff, 0x18, 0xb6, 0xeb, 0x1a, 0x30, 0x11, 0x00, 0x00, } diff --git a/proto/schema.proto b/proto/schema.proto index 221c1d6..1f7dca6 100644 --- a/proto/schema.proto +++ b/proto/schema.proto @@ -65,6 +65,7 @@ message FieldSchema { bool is_dynamic = 12; // mark whether this field is the dynamic field bool is_partition_key = 13; // enable logic partitions bool is_clustering_key = 14; + bool nullable = 15; // enable set null as field value } /** @@ -155,6 +156,7 @@ message FieldData { } int64 field_id = 5; bool is_dynamic = 6; + repeated bool valid_data = 7; } message IDs {