SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
scaffold for volume server query feature
Chris Lucf47f657af55
diff --git a/go.mod b/go.modindex ce4dce9ee4..c9717b6ab6 100644--- a/go.mod+++ b/go.mod@@ -86,7 +86,7 @@ require (github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271 // indirectgithub.com/stretchr/testify v1.4.0 // indirectgithub.com/syndtr/goleveldb v1.0.0- github.com/tidwall/pretty v1.0.0 // indirect+ github.com/tidwall/gjson v1.3.2github.com/uber-go/atomic v1.4.0 // indirectgithub.com/uber/jaeger-client-go v2.17.0+incompatible // indirectgithub.com/uber/jaeger-lib v2.0.0+incompatible // indirectdiff --git a/go.sum b/go.sumindex 2dad6d7167..3cf8c49cae 100644--- a/go.sum+++ b/go.sum@@ -456,7 +456,12 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVgithub.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=github.com/syndtr/goleveldb v1.0.0 h1:fBdIW9lB4Iz0n9khmH8w27SJ3QEJ7+IgjPEwGSZiFdE=github.com/syndtr/goleveldb v1.0.0/go.mod h1:ZVVdQEZoIme9iO1Ch2Jdy24qqXrMMOU6lpPAyBWyWuQ=+github.com/tidwall/gjson v1.3.2 h1:+7p3qQFaH3fOMXAJSrdZwGKcOO/lYdGS0HqGhPqDdTI=+github.com/tidwall/gjson v1.3.2/go.mod h1:P256ACg0Mn+j1RXIDXoss50DeIABTYK1PULOJHhxOls=+github.com/tidwall/match v1.0.1 h1:PnKP62LPNxHKTwvHHZZzdOAOCtsJTjo6dZLCwpKm5xc=+github.com/tidwall/match v1.0.1/go.mod h1:LujAq0jyVjBy028G1WhWfIzbpQfMO8bBZ6Tyb0+pL9E=github.com/tidwall/pretty v0.0.0-20190325153808-1166b9ac2b65/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk=+github.com/tidwall/pretty v1.0.0 h1:HsD+QiTn7sK6flMKIvNmpqz1qrpP3Ps6jOKIKMooyg4=github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk=github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 h1:LnC5Kc/wtumK+WB441p7ynQJzVuNRJiqddSIE3IlSEQ=github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=diff --git a/weed/pb/volume_server.proto b/weed/pb/volume_server.protoindex 4004875edc..972eb3ab70 100644--- a/weed/pb/volume_server.proto+++ b/weed/pb/volume_server.proto@@ -67,6 +67,10 @@ service VolumeServer {rpc VolumeEcBlobDelete (VolumeEcBlobDeleteRequest) returns (VolumeEcBlobDeleteResponse) {}+ // query+ rpc Query (QueryRequest) returns (stream QueriedStripe) {+ }+}//////////////////////////////////////////////////@@ -318,3 +322,55 @@ message MemStatus {uint64 heap = 6;uint64 stack = 7;}++message QueryRequest {+ string select_expression = 1;+ repeated string from_file_ids = 2;+ string where_expression = 3;++ message InputSerialization {+ // NONE | GZIP | BZIP2+ string compression_type = 1;+ message CSVInput {+ string file_header_info = 1; // Valid values: NONE | USE | IGNORE+ string record_delimiter = 2; // Default: \n+ string field_delimiter = 3; // Default: ,+ string quote_charactoer = 4; // Default: "+ string quote_escape_character = 5; // Default: "+ string comments = 6; // Default: #+ // If true, records might contain record delimiters within quote characters+ bool allow_quoted_record_delimiter = 7; // default False.+ }+ message JSONInput {+ string type = 1; // Valid values: DOCUMENT | LINES+ }+ message ParquetInput {+ }++ CSVInput csv_input = 2;+ JSONInput json_input = 3;+ ParquetInput parquet_input = 4;+ }+ InputSerialization input_serialization = 4;++ message OutputSerialization {+ message CSVOutput {+ string quote_fields = 1; // Valid values: ALWAYS | ASNEEDED+ string record_delimiter = 2; // Default: \n+ string field_delimiter = 3; // Default: ,+ string quote_charactoer = 4; // Default: "+ string quote_escape_character = 5; // Default: "+ }+ message JSONOutput {+ string record_delimiter = 1;+ }++ CSVOutput csv_output = 2;+ JSONOutput json_output = 3;+ }++ OutputSerialization output_serialization = 5;+}+message QueriedStripe {+ repeated bytes records = 1;+}diff --git a/weed/pb/volume_server_pb/volume_server.pb.go b/weed/pb/volume_server_pb/volume_server.pb.goindex 13d14b1e5f..de7ecbb9db 100644--- a/weed/pb/volume_server_pb/volume_server.pb.go+++ b/weed/pb/volume_server_pb/volume_server.pb.go@@ -65,6 +65,8 @@ It has these top-level messages:ReadVolumeFileStatusResponseDiskStatusMemStatus+ QueryRequest+ QueriedStripe*/package volume_server_pb@@ -1384,6 +1386,318 @@ func (m *MemStatus) GetStack() uint64 {return 0}+type QueryRequest struct {+ SelectExpression string `protobuf:"bytes,1,opt,name=select_expression,json=selectExpression" json:"select_expression,omitempty"`+ FromFileIds []string `protobuf:"bytes,2,rep,name=from_file_ids,json=fromFileIds" json:"from_file_ids,omitempty"`+ WhereExpression string `protobuf:"bytes,3,opt,name=where_expression,json=whereExpression" json:"where_expression,omitempty"`+ InputSerialization *QueryRequest_InputSerialization `protobuf:"bytes,4,opt,name=input_serialization,json=inputSerialization" json:"input_serialization,omitempty"`+ OutputSerialization *QueryRequest_OutputSerialization `protobuf:"bytes,5,opt,name=output_serialization,json=outputSerialization" json:"output_serialization,omitempty"`+}++func (m *QueryRequest) Reset() { *m = QueryRequest{} }+func (m *QueryRequest) String() string { return proto.CompactTextString(m) }+func (*QueryRequest) ProtoMessage() {}+func (*QueryRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{56} }++func (m *QueryRequest) GetSelectExpression() string {+ if m != nil {+ return m.SelectExpression+ }+ return ""+}++func (m *QueryRequest) GetFromFileIds() []string {+ if m != nil {+ return m.FromFileIds+ }+ return nil+}++func (m *QueryRequest) GetWhereExpression() string {+ if m != nil {+ return m.WhereExpression+ }+ return ""+}++func (m *QueryRequest) GetInputSerialization() *QueryRequest_InputSerialization {+ if m != nil {+ return m.InputSerialization+ }+ return nil+}++func (m *QueryRequest) GetOutputSerialization() *QueryRequest_OutputSerialization {+ if m != nil {+ return m.OutputSerialization+ }+ return nil+}++type QueryRequest_InputSerialization struct {+ // NONE | GZIP | BZIP2+ CompressionType string `protobuf:"bytes,1,opt,name=compression_type,json=compressionType" json:"compression_type,omitempty"`+ CsvInput *QueryRequest_InputSerialization_CSVInput `protobuf:"bytes,2,opt,name=csv_input,json=csvInput" json:"csv_input,omitempty"`+ JsonInput *QueryRequest_InputSerialization_JSONInput `protobuf:"bytes,3,opt,name=json_input,json=jsonInput" json:"json_input,omitempty"`+ ParquetInput *QueryRequest_InputSerialization_ParquetInput `protobuf:"bytes,4,opt,name=parquet_input,json=parquetInput" json:"parquet_input,omitempty"`+}++func (m *QueryRequest_InputSerialization) Reset() { *m = QueryRequest_InputSerialization{} }+func (m *QueryRequest_InputSerialization) String() string { return proto.CompactTextString(m) }+func (*QueryRequest_InputSerialization) ProtoMessage() {}+func (*QueryRequest_InputSerialization) Descriptor() ([]byte, []int) {+ return fileDescriptor0, []int{56, 0}+}++func (m *QueryRequest_InputSerialization) GetCompressionType() string {+ if m != nil {+ return m.CompressionType+ }+ return ""+}++func (m *QueryRequest_InputSerialization) GetCsvInput() *QueryRequest_InputSerialization_CSVInput {+ if m != nil {+ return m.CsvInput+ }+ return nil+}++func (m *QueryRequest_InputSerialization) GetJsonInput() *QueryRequest_InputSerialization_JSONInput {+ if m != nil {+ return m.JsonInput+ }+ return nil+}++func (m *QueryRequest_InputSerialization) GetParquetInput() *QueryRequest_InputSerialization_ParquetInput {+ if m != nil {+ return m.ParquetInput+ }+ return nil+}++type QueryRequest_InputSerialization_CSVInput struct {+ FileHeaderInfo string `protobuf:"bytes,1,opt,name=file_header_info,json=fileHeaderInfo" json:"file_header_info,omitempty"`+ RecordDelimiter string `protobuf:"bytes,2,opt,name=record_delimiter,json=recordDelimiter" json:"record_delimiter,omitempty"`+ FieldDelimiter string `protobuf:"bytes,3,opt,name=field_delimiter,json=fieldDelimiter" json:"field_delimiter,omitempty"`+ QuoteCharactoer string `protobuf:"bytes,4,opt,name=quote_charactoer,json=quoteCharactoer" json:"quote_charactoer,omitempty"`+ QuoteEscapeCharacter string `protobuf:"bytes,5,opt,name=quote_escape_character,json=quoteEscapeCharacter" json:"quote_escape_character,omitempty"`+ Comments string `protobuf:"bytes,6,opt,name=comments" json:"comments,omitempty"`+ // If true, records might contain record delimiters within quote characters+ AllowQuotedRecordDelimiter bool `protobuf:"varint,7,opt,name=allow_quoted_record_delimiter,json=allowQuotedRecordDelimiter" json:"allow_quoted_record_delimiter,omitempty"`+}++func (m *QueryRequest_InputSerialization_CSVInput) Reset() {+ *m = QueryRequest_InputSerialization_CSVInput{}+}+func (m *QueryRequest_InputSerialization_CSVInput) String() string { return proto.CompactTextString(m) }+func (*QueryRequest_InputSerialization_CSVInput) ProtoMessage() {}+func (*QueryRequest_InputSerialization_CSVInput) Descriptor() ([]byte, []int) {+ return fileDescriptor0, []int{56, 0, 0}+}++func (m *QueryRequest_InputSerialization_CSVInput) GetFileHeaderInfo() string {+ if m != nil {+ return m.FileHeaderInfo+ }+ return ""+}++func (m *QueryRequest_InputSerialization_CSVInput) GetRecordDelimiter() string {+ if m != nil {+ return m.RecordDelimiter+ }+ return ""+}++func (m *QueryRequest_InputSerialization_CSVInput) GetFieldDelimiter() string {+ if m != nil {+ return m.FieldDelimiter+ }+ return ""+}++func (m *QueryRequest_InputSerialization_CSVInput) GetQuoteCharactoer() string {+ if m != nil {+ return m.QuoteCharactoer+ }+ return ""+}++func (m *QueryRequest_InputSerialization_CSVInput) GetQuoteEscapeCharacter() string {+ if m != nil {+ return m.QuoteEscapeCharacter+ }+ return ""+}++func (m *QueryRequest_InputSerialization_CSVInput) GetComments() string {+ if m != nil {+ return m.Comments+ }+ return ""+}++func (m *QueryRequest_InputSerialization_CSVInput) GetAllowQuotedRecordDelimiter() bool {+ if m != nil {+ return m.AllowQuotedRecordDelimiter+ }+ return false+}++type QueryRequest_InputSerialization_JSONInput struct {+ Type string `protobuf:"bytes,1,opt,name=type" json:"type,omitempty"`+}++func (m *QueryRequest_InputSerialization_JSONInput) Reset() {+ *m = QueryRequest_InputSerialization_JSONInput{}+}+func (m *QueryRequest_InputSerialization_JSONInput) String() string { return proto.CompactTextString(m) }+func (*QueryRequest_InputSerialization_JSONInput) ProtoMessage() {}+func (*QueryRequest_InputSerialization_JSONInput) Descriptor() ([]byte, []int) {+ return fileDescriptor0, []int{56, 0, 1}+}++func (m *QueryRequest_InputSerialization_JSONInput) GetType() string {+ if m != nil {+ return m.Type+ }+ return ""+}++type QueryRequest_InputSerialization_ParquetInput struct {+}++func (m *QueryRequest_InputSerialization_ParquetInput) Reset() {+ *m = QueryRequest_InputSerialization_ParquetInput{}+}+func (m *QueryRequest_InputSerialization_ParquetInput) String() string {+ return proto.CompactTextString(m)+}+func (*QueryRequest_InputSerialization_ParquetInput) ProtoMessage() {}+func (*QueryRequest_InputSerialization_ParquetInput) Descriptor() ([]byte, []int) {+ return fileDescriptor0, []int{56, 0, 2}+}++type QueryRequest_OutputSerialization struct {+ CsvOutput *QueryRequest_OutputSerialization_CSVOutput `protobuf:"bytes,2,opt,name=csv_output,json=csvOutput" json:"csv_output,omitempty"`+ JsonOutput *QueryRequest_OutputSerialization_JSONOutput `protobuf:"bytes,3,opt,name=json_output,json=jsonOutput" json:"json_output,omitempty"`+}++func (m *QueryRequest_OutputSerialization) Reset() { *m = QueryRequest_OutputSerialization{} }+func (m *QueryRequest_OutputSerialization) String() string { return proto.CompactTextString(m) }+func (*QueryRequest_OutputSerialization) ProtoMessage() {}+func (*QueryRequest_OutputSerialization) Descriptor() ([]byte, []int) {+ return fileDescriptor0, []int{56, 1}+}++func (m *QueryRequest_OutputSerialization) GetCsvOutput() *QueryRequest_OutputSerialization_CSVOutput {+ if m != nil {+ return m.CsvOutput+ }+ return nil+}++func (m *QueryRequest_OutputSerialization) GetJsonOutput() *QueryRequest_OutputSerialization_JSONOutput {+ if m != nil {+ return m.JsonOutput+ }+ return nil+}++type QueryRequest_OutputSerialization_CSVOutput struct {+ QuoteFields string `protobuf:"bytes,1,opt,name=quote_fields,json=quoteFields" json:"quote_fields,omitempty"`+ RecordDelimiter string `protobuf:"bytes,2,opt,name=record_delimiter,json=recordDelimiter" json:"record_delimiter,omitempty"`+ FieldDelimiter string `protobuf:"bytes,3,opt,name=field_delimiter,json=fieldDelimiter" json:"field_delimiter,omitempty"`+ QuoteCharactoer string `protobuf:"bytes,4,opt,name=quote_charactoer,json=quoteCharactoer" json:"quote_charactoer,omitempty"`+ QuoteEscapeCharacter string `protobuf:"bytes,5,opt,name=quote_escape_character,json=quoteEscapeCharacter" json:"quote_escape_character,omitempty"`+}++func (m *QueryRequest_OutputSerialization_CSVOutput) Reset() {+ *m = QueryRequest_OutputSerialization_CSVOutput{}+}+func (m *QueryRequest_OutputSerialization_CSVOutput) String() string {+ return proto.CompactTextString(m)+}+func (*QueryRequest_OutputSerialization_CSVOutput) ProtoMessage() {}+func (*QueryRequest_OutputSerialization_CSVOutput) Descriptor() ([]byte, []int) {+ return fileDescriptor0, []int{56, 1, 0}+}++func (m *QueryRequest_OutputSerialization_CSVOutput) GetQuoteFields() string {+ if m != nil {+ return m.QuoteFields+ }+ return ""+}++func (m *QueryRequest_OutputSerialization_CSVOutput) GetRecordDelimiter() string {+ if m != nil {+ return m.RecordDelimiter+ }+ return ""+}++func (m *QueryRequest_OutputSerialization_CSVOutput) GetFieldDelimiter() string {+ if m != nil {+ return m.FieldDelimiter+ }+ return ""+}++func (m *QueryRequest_OutputSerialization_CSVOutput) GetQuoteCharactoer() string {+ if m != nil {+ return m.QuoteCharactoer+ }+ return ""+}++func (m *QueryRequest_OutputSerialization_CSVOutput) GetQuoteEscapeCharacter() string {+ if m != nil {+ return m.QuoteEscapeCharacter+ }+ return ""+}++type QueryRequest_OutputSerialization_JSONOutput struct {+ RecordDelimiter string `protobuf:"bytes,1,opt,name=record_delimiter,json=recordDelimiter" json:"record_delimiter,omitempty"`+}++func (m *QueryRequest_OutputSerialization_JSONOutput) Reset() {+ *m = QueryRequest_OutputSerialization_JSONOutput{}+}+func (m *QueryRequest_OutputSerialization_JSONOutput) String() string {+ return proto.CompactTextString(m)+}+func (*QueryRequest_OutputSerialization_JSONOutput) ProtoMessage() {}+func (*QueryRequest_OutputSerialization_JSONOutput) Descriptor() ([]byte, []int) {+ return fileDescriptor0, []int{56, 1, 1}+}++func (m *QueryRequest_OutputSerialization_JSONOutput) GetRecordDelimiter() string {+ if m != nil {+ return m.RecordDelimiter+ }+ return ""+}++type QueriedStripe struct {+ Records [][]byte `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`+}++func (m *QueriedStripe) Reset() { *m = QueriedStripe{} }+func (m *QueriedStripe) String() string { return proto.CompactTextString(m) }+func (*QueriedStripe) ProtoMessage() {}+func (*QueriedStripe) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{57} }++func (m *QueriedStripe) GetRecords() [][]byte {+ if m != nil {+ return m.Records+ }+ return nil+}+func init() {proto.RegisterType((*BatchDeleteRequest)(nil), "volume_server_pb.BatchDeleteRequest")proto.RegisterType((*BatchDeleteResponse)(nil), "volume_server_pb.BatchDeleteResponse")@@ -1441,6 +1755,15 @@ func init() {proto.RegisterType((*ReadVolumeFileStatusResponse)(nil), "volume_server_pb.ReadVolumeFileStatusResponse")proto.RegisterType((*DiskStatus)(nil), "volume_server_pb.DiskStatus")proto.RegisterType((*MemStatus)(nil), "volume_server_pb.MemStatus")+ proto.RegisterType((*QueryRequest)(nil), "volume_server_pb.QueryRequest")+ proto.RegisterType((*QueryRequest_InputSerialization)(nil), "volume_server_pb.QueryRequest.InputSerialization")+ proto.RegisterType((*QueryRequest_InputSerialization_CSVInput)(nil), "volume_server_pb.QueryRequest.InputSerialization.CSVInput")+ proto.RegisterType((*QueryRequest_InputSerialization_JSONInput)(nil), "volume_server_pb.QueryRequest.InputSerialization.JSONInput")+ proto.RegisterType((*QueryRequest_InputSerialization_ParquetInput)(nil), "volume_server_pb.QueryRequest.InputSerialization.ParquetInput")+ proto.RegisterType((*QueryRequest_OutputSerialization)(nil), "volume_server_pb.QueryRequest.OutputSerialization")+ proto.RegisterType((*QueryRequest_OutputSerialization_CSVOutput)(nil), "volume_server_pb.QueryRequest.OutputSerialization.CSVOutput")+ proto.RegisterType((*QueryRequest_OutputSerialization_JSONOutput)(nil), "volume_server_pb.QueryRequest.OutputSerialization.JSONOutput")+ proto.RegisterType((*QueriedStripe)(nil), "volume_server_pb.QueriedStripe")}// Reference imports to suppress errors if they are not otherwise used.@@ -1483,6 +1806,8 @@ type VolumeServerClient interface {VolumeEcShardsUnmount(ctx context.Context, in *VolumeEcShardsUnmountRequest, opts ...grpc.CallOption) (*VolumeEcShardsUnmountResponse, error)VolumeEcShardRead(ctx context.Context, in *VolumeEcShardReadRequest, opts ...grpc.CallOption) (VolumeServer_VolumeEcShardReadClient, error)VolumeEcBlobDelete(ctx context.Context, in *VolumeEcBlobDeleteRequest, opts ...grpc.CallOption) (*VolumeEcBlobDeleteResponse, error)+ // query+ Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (VolumeServer_QueryClient, error)}type volumeServerClient struct {@@ -1819,6 +2144,38 @@ func (c *volumeServerClient) VolumeEcBlobDelete(ctx context.Context, in *VolumeEreturn out, nil}+func (c *volumeServerClient) Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (VolumeServer_QueryClient, error) {+ stream, err := grpc.NewClientStream(ctx, &_VolumeServer_serviceDesc.Streams[4], c.cc, "/volume_server_pb.VolumeServer/Query", opts...)+ if err != nil {+ return nil, err+ }+ x := &volumeServerQueryClient{stream}+ if err := x.ClientStream.SendMsg(in); err != nil {+ return nil, err+ }+ if err := x.ClientStream.CloseSend(); err != nil {+ return nil, err+ }+ return x, nil+}++type VolumeServer_QueryClient interface {+ Recv() (*QueriedStripe, error)+ grpc.ClientStream+}++type volumeServerQueryClient struct {+ grpc.ClientStream+}++func (x *volumeServerQueryClient) Recv() (*QueriedStripe, error) {+ m := new(QueriedStripe)+ if err := x.ClientStream.RecvMsg(m); err != nil {+ return nil, err+ }+ return m, nil+}+// Server API for VolumeServer servicetype VolumeServerServer interface {@@ -1851,6 +2208,8 @@ type VolumeServerServer interface {VolumeEcShardsUnmount(context.Context, *VolumeEcShardsUnmountRequest) (*VolumeEcShardsUnmountResponse, error)VolumeEcShardRead(*VolumeEcShardReadRequest, VolumeServer_VolumeEcShardReadServer) errorVolumeEcBlobDelete(context.Context, *VolumeEcBlobDeleteRequest) (*VolumeEcBlobDeleteResponse, error)+ // query+ Query(*QueryRequest, VolumeServer_QueryServer) error}func RegisterVolumeServerServer(s *grpc.Server, srv VolumeServerServer) {@@ -2337,6 +2696,27 @@ func _VolumeServer_VolumeEcBlobDelete_Handler(srv interface{}, ctx context.Contereturn interceptor(ctx, in, info, handler)}+func _VolumeServer_Query_Handler(srv interface{}, stream grpc.ServerStream) error {+ m := new(QueryRequest)+ if err := stream.RecvMsg(m); err != nil {+ return err+ }+ return srv.(VolumeServerServer).Query(m, &volumeServerQueryServer{stream})+}++type VolumeServer_QueryServer interface {+ Send(*QueriedStripe) error+ grpc.ServerStream+}++type volumeServerQueryServer struct {+ grpc.ServerStream+}++func (x *volumeServerQueryServer) Send(m *QueriedStripe) error {+ return x.ServerStream.SendMsg(m)+}+var _VolumeServer_serviceDesc = grpc.ServiceDesc{ServiceName: "volume_server_pb.VolumeServer",HandlerType: (*VolumeServerServer)(nil),@@ -2451,6 +2831,11 @@ var _VolumeServer_serviceDesc = grpc.ServiceDesc{Handler: _VolumeServer_VolumeEcShardRead_Handler,ServerStreams: true,},+ {+ StreamName: "Query",+ Handler: _VolumeServer_Query_Handler,+ ServerStreams: true,+ },},Metadata: "volume_server.proto",}@@ -2458,126 +2843,158 @@ var _VolumeServer_serviceDesc = grpc.ServiceDesc{func init() { proto.RegisterFile("volume_server.proto", fileDescriptor0) }var fileDescriptor0 = []byte{- // 1924 bytes of a gzipped FileDescriptorProto- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xc4, 0x19, 0xcb, 0x72, 0xdc, 0xc6,- 0x91, 0xd0, 0x2e, 0xb9, 0xbb, 0xbd, 0x4b, 0x89, 0x1c, 0x52, 0xe4, 0x0a, 0x14, 0x29, 0x1a, 0x76,- 0x6c, 0x8a, 0xb2, 0x49, 0x45, 0xae, 0x24, 0x4e, 0x72, 0x48, 0x44, 0x8a, 0x49, 0x54, 0x8e, 0xe9,- 0x2a, 0x50, 0x56, 0x39, 0x65, 0x57, 0xa1, 0x86, 0xc0, 0x50, 0x44, 0x11, 0x0b, 0x40, 0x98, 0x01,- 0xa5, 0x55, 0x25, 0x27, 0xe5, 0x9a, 0x0f, 0xc8, 0x39, 0xb7, 0x1c, 0x72, 0xcd, 0x07, 0xe4, 0x17,- 0x72, 0xcb, 0x37, 0xe4, 0x0b, 0x72, 0x49, 0xcd, 0x03, 0x58, 0x3c, 0x77, 0xc1, 0x90, 0x55, 0xb9,- 0x61, 0x7b, 0xfa, 0x3d, 0xdd, 0x3d, 0xdd, 0xbd, 0xb0, 0x72, 0x19, 0x78, 0xf1, 0x88, 0x58, 0x94,- 0x44, 0x97, 0x24, 0xda, 0x0b, 0xa3, 0x80, 0x05, 0x68, 0x29, 0x07, 0xb4, 0xc2, 0x53, 0x63, 0x1f,- 0xd0, 0x01, 0x66, 0xf6, 0xf9, 0x33, 0xe2, 0x11, 0x46, 0x4c, 0xf2, 0x3a, 0x26, 0x94, 0xa1, 0x7b,- 0xd0, 0x3d, 0x73, 0x3d, 0x62, 0xb9, 0x0e,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x6b, 0x06, 0x79, 0xfd,- 0x71, 0x73, 0x82, 0x54, 0xfc, 0xbb, 0xa4, 0x3e, 0x15, 0x06, 0xe8, 0xfa, 0xfa, 0x54, 0x3d, 0xc6,- 0xeb, 0xfb, 0x8d, 0xf1, 0xcb, 0xa9, 0x97, 0x9d, 0x54, 0xeb, 0xbd, 0x5d, 0x31, 0x94, 0xd7, 0x7b,- 0xbb, 0x72, 0xf8, 0x15, 0xf9, 0x51, 0x35, 0x85, 0x56, 0xe5, 0xc7, 0x94, 0x31, 0x59, 0xdf, 0x6b,- 0x8a, 0x9e, 0x7b, 0xbe, 0xcb, 0x63, 0x26, 0x9a, 0xa9, 0x7f, 0xae, 0x32, 0x7f, 0xd6, 0x10, 0xbb,- 0xfe, 0x76, 0x93, 0x4a, 0x3d, 0xd3, 0x80, 0x42, 0xc5, 0xde, 0x6f, 0x8c, 0x9f, 0xca, 0x0e, 0x93,- 0xdd, 0x72, 0x66, 0x44, 0x44, 0xbb, 0x33, 0xf8, 0x64, 0x46, 0x5c, 0xfd, 0x51, 0x23, 0xdc, 0xaa,- 0xec, 0xcd, 0x0e, 0x6d, 0xd3, 0xe2, 0xa9, 0x34, 0x69, 0x4e, 0x8b, 0xa7, 0x8a, 0x39, 0x70, 0xee,- 0x74, 0x41, 0xfc, 0x81, 0xfc, 0xf9, 0x7f, 0x03, 0x00, 0x00, 0xff, 0xff, 0xc8, 0x44, 0x1a, 0xc5,- 0x57, 0x1e, 0x00, 0x00,+ // 2440 bytes of a gzipped FileDescriptorProto+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x1a, 0x4d, 0x73, 0x1c, 0x47,+ 0x55, 0xeb, 0xdd, 0xf5, 0xee, 0xbe, 0x5d, 0x59, 0x72, 0x4b, 0xb6, 0xd6, 0x63, 0x4b, 0x56, 0x26,+ 0x21, 0x96, 0xed, 0x44, 0x76, 0x14, 0x20, 0x21, 0xe1, 0xcb, 0x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b3, 0x16, 0x6e,+ 0x59, 0xf6, 0xa6, 0x7b, 0x80, 0x27, 0xc5, 0x53, 0xa1, 0x71, 0x79, 0x52, 0x3c, 0x95, 0xb4, 0x15,+ 0xe7, 0xd0, 0xc7, 0xd0, 0x16, 0x57, 0x1c, 0xb4, 0x76, 0xf2, 0xdd, 0x47, 0xbb, 0x5a, 0x3e, 0x9f,+ 0x54, 0xf0, 0xdc, 0x80, 0xfd, 0xb3, 0xe2, 0xef, 0xa6, 0x77, 0xff, 0x17, 0x00, 0x00, 0xff, 0xff,+ 0x87, 0x4e, 0x8e, 0x7e, 0xf4, 0x24, 0x00, 0x00,}diff --git a/weed/query/json/query_json.go b/weed/query/json/query_json.gonew file mode 100644index 0000000000..779aa96e9b--- /dev/null+++ b/weed/query/json/query_json.go@@ -0,0 +1,5 @@+package json++func QueryJson(jsonLine string, query string) (jsonOutput string) {+ return jsonLine+}diff --git a/weed/query/json/query_json_test.go b/weed/query/json/query_json_test.gonew file mode 100644index 0000000000..7ad837360c--- /dev/null+++ b/weed/query/json/query_json_test.go@@ -0,0 +1,73 @@+package json++import (+ "testing"++ "github.com/tidwall/gjson"+)++func TestGjson(t *testing.T) {+ data := `+ {+ "quiz": {+ "sport": {+ "q1": {+ "question": "Which one is correct team name in NBA?",+ "options": [+ "New York Bulls",+ "Los Angeles Kings",+ "Golden State Warriros",+ "Huston Rocket"+ ],+ "answer": "Huston Rocket"+ }+ },+ "maths": {+ "q1": {+ "question": "5 + 7 = ?",+ "options": [+ "10",+ "11",+ "12",+ "13"+ ],+ "answer": "12"+ },+ "q2": {+ "question": "12 - 8 = ?",+ "options": [+ "1",+ "2",+ "3",+ "4"+ ],+ "answer": "4"+ }+ }+ }+ }++ {+ "fruit": "Apple",+ "size": "Large",+ "quiz": "Red"+ }++`++ projections := []string{"quiz","fruit"}++ gjson.ForEachLine(data, func(line gjson.Result) bool{+ println(line.String())+ println("+++++++++++")+ results := gjson.GetMany(line.Raw, projections...)+ for _, result := range results {+ println(result.Index, result.Type, result.String())+ }+ println("-----------")+ return true+ })++++}diff --git a/weed/server/volume_grpc_copy.go b/weed/server/volume_grpc_copy.goindex 8b39146ee4..711a3ebad8 100644--- a/weed/server/volume_grpc_copy.go+++ b/weed/server/volume_grpc_copy.go@@ -257,7 +257,3 @@ func (vs *VolumeServer) CopyFile(req *volume_server_pb.CopyFileRequest, stream vreturn nil}--func (vs *VolumeServer) findVolumeOrEcVolumeLocation(volumeId needle.VolumeId) {--}diff --git a/weed/server/volume_grpc_query.go b/weed/server/volume_grpc_query.gonew file mode 100644index 0000000000..43752afb0e--- /dev/null+++ b/weed/server/volume_grpc_query.go@@ -0,0 +1,62 @@+package weed_server++import (+ "github.com/chrislusf/seaweedfs/weed/glog"+ "github.com/chrislusf/seaweedfs/weed/operation"+ "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"+ "github.com/chrislusf/seaweedfs/weed/storage/needle"+ "github.com/tidwall/gjson"+)++func (vs *VolumeServer) Query(req *volume_server_pb.QueryRequest, stream volume_server_pb.VolumeServer_QueryServer) error {++ for _, fid := range req.FromFileIds {++ vid, id_cookie, err := operation.ParseFileId(fid)+ if err != nil {+ glog.V(0).Infof("volume query failed to parse fid %s: %v", fid, err)+ return err+ }++ n := new(needle.Needle)+ volumeId, _ := needle.NewVolumeId(vid)+ n.ParsePath(id_cookie)++ cookie := n.Cookie+ if _, err := vs.store.ReadVolumeNeedle(volumeId, n); err != nil {+ glog.V(0).Infof("volume query failed to read fid %s: %v", fid, err)+ return err+ }++ if n.Cookie != cookie {+ glog.V(0).Infof("volume query failed to read fid cookie %s: %v", fid, err)+ return err+ }++ if req.InputSerialization.CsvInput!=nil{++++ }++ if req.InputSerialization.JsonInput!=nil{++ err = stream.Send(&volume_server_pb.QueriedStripe{+ Records:nil,+ })+ if err != nil {+ // println("sending", bytesread, "bytes err", err.Error())+ return err+ }+ gjson.ForEachLine(string(n.Data), func(line gjson.Result) bool{+ println(line.String())+ return true+ })+ }++++ }++ return nil+}