refactor: rename PartitionExprVersion (#309)

Signed-off-by: WenyXu <wenymedia@gmail.com>
This commit is contained in:
Weny Xu
2026-02-10 17:16:46 +08:00
committed by GitHub
parent b9452e3411
commit 030f1e48ab
15 changed files with 972 additions and 972 deletions
+8 -8
View File
@@ -253,7 +253,7 @@ type InsertRequest struct {
RegionId uint64 `protobuf:"varint,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
Rows *v1.Rows `protobuf:"bytes,2,opt,name=rows,proto3" json:"rows,omitempty"`
PartitionRuleVersion *v1.PartitionRuleVersion `protobuf:"bytes,3,opt,name=partition_rule_version,json=partitionRuleVersion,proto3" json:"partition_rule_version,omitempty"`
PartitionExprVersion *v1.PartitionExprVersion `protobuf:"bytes,3,opt,name=partition_expr_version,json=partitionExprVersion,proto3" json:"partition_expr_version,omitempty"`
}
func (x *InsertRequest) Reset() {
@@ -302,9 +302,9 @@ func (x *InsertRequest) GetRows() *v1.Rows {
return nil
}
func (x *InsertRequest) GetPartitionRuleVersion() *v1.PartitionRuleVersion {
func (x *InsertRequest) GetPartitionExprVersion() *v1.PartitionExprVersion {
if x != nil {
return x.PartitionRuleVersion
return x.PartitionExprVersion
}
return nil
}
@@ -751,11 +751,11 @@ var file_greptime_v1_flow_server_proto_rawDesc = []byte{
0x72, 0x6f, 0x77, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x72, 0x65,
0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x04, 0x72,
0x6f, 0x77, 0x73, 0x12, 0x57, 0x0a, 0x16, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e,
0x5f, 0x72, 0x75, 0x6c, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
0x5f, 0x65, 0x78, 0x70, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76,
0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75, 0x6c, 0x65, 0x56,
0x31, 0x2e, 0x50, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x78, 0x70, 0x72, 0x56,
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x14, 0x70, 0x61, 0x72, 0x74, 0x69, 0x74, 0x69, 0x6f,
0x6e, 0x52, 0x75, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xf7, 0x01, 0x0a,
0x6e, 0x45, 0x78, 0x70, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xf7, 0x01, 0x0a,
0x0b, 0x46, 0x6c, 0x6f, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x06,
0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x40, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67,
0x72, 0x65, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x66, 0x6c, 0x6f, 0x77, 0x2e,
@@ -890,7 +890,7 @@ var file_greptime_v1_flow_server_proto_goTypes = []interface{}{
nil, // 12: greptime.v1.flow.CreateRequest.FlowOptionsEntry
(*v1.QueryContext)(nil), // 13: greptime.v1.QueryContext
(*v1.Rows)(nil), // 14: greptime.v1.Rows
(*v1.PartitionRuleVersion)(nil), // 15: greptime.v1.PartitionRuleVersion
(*v1.PartitionExprVersion)(nil), // 15: greptime.v1.PartitionExprVersion
(*v1.ResponseHeader)(nil), // 16: greptime.v1.ResponseHeader
(*v1.FlowId)(nil), // 17: greptime.v1.FlowId
(*v1.TableId)(nil), // 18: greptime.v1.TableId
@@ -904,7 +904,7 @@ var file_greptime_v1_flow_server_proto_depIdxs = []int32{
13, // 2: greptime.v1.flow.FlowRequestHeader.query_context:type_name -> greptime.v1.QueryContext
4, // 3: greptime.v1.flow.InsertRequests.requests:type_name -> greptime.v1.flow.InsertRequest
14, // 4: greptime.v1.flow.InsertRequest.rows:type_name -> greptime.v1.Rows
15, // 5: greptime.v1.flow.InsertRequest.partition_rule_version:type_name -> greptime.v1.PartitionRuleVersion
15, // 5: greptime.v1.flow.InsertRequest.partition_expr_version:type_name -> greptime.v1.PartitionExprVersion
2, // 6: greptime.v1.flow.FlowRequest.header:type_name -> greptime.v1.flow.FlowRequestHeader
7, // 7: greptime.v1.flow.FlowRequest.create:type_name -> greptime.v1.flow.CreateRequest
8, // 8: greptime.v1.flow.FlowRequest.drop:type_name -> greptime.v1.flow.DropRequest