support basic json filtering and selection

This commit is contained in:
Chris Lu 2019-10-06 22:35:05 -07:00
parent e26670c67a
commit f8d4b7d1c0
7 changed files with 418 additions and 186 deletions

1
go.mod
View file

@ -87,6 +87,7 @@ require (
github.com/stretchr/testify v1.4.0 // indirect github.com/stretchr/testify v1.4.0 // indirect
github.com/syndtr/goleveldb v1.0.0 github.com/syndtr/goleveldb v1.0.0
github.com/tidwall/gjson v1.3.2 github.com/tidwall/gjson v1.3.2
github.com/tidwall/match v1.0.1
github.com/uber-go/atomic v1.4.0 // indirect github.com/uber-go/atomic v1.4.0 // indirect
github.com/uber/jaeger-client-go v2.17.0+incompatible // indirect github.com/uber/jaeger-client-go v2.17.0+incompatible // indirect
github.com/uber/jaeger-lib v2.0.0+incompatible // indirect github.com/uber/jaeger-lib v2.0.0+incompatible // indirect

View file

@ -324,9 +324,14 @@ message MemStatus {
} }
message QueryRequest { message QueryRequest {
string select_expression = 1; repeated string selections = 1;
repeated string from_file_ids = 2; repeated string from_file_ids = 2;
string where_expression = 3; message Filter {
string field = 1;
string operand = 2;
string value = 3;
}
Filter filter = 3;
message InputSerialization { message InputSerialization {
// NONE | GZIP | BZIP2 // NONE | GZIP | BZIP2
@ -372,5 +377,5 @@ message QueryRequest {
OutputSerialization output_serialization = 5; OutputSerialization output_serialization = 5;
} }
message QueriedStripe { message QueriedStripe {
repeated bytes records = 1; bytes records = 1;
} }

View file

@ -1387,9 +1387,9 @@ func (m *MemStatus) GetStack() uint64 {
} }
type QueryRequest struct { type QueryRequest struct {
SelectExpression string `protobuf:"bytes,1,opt,name=select_expression,json=selectExpression" json:"select_expression,omitempty"` Selections []string `protobuf:"bytes,1,rep,name=selections" json:"selections,omitempty"`
FromFileIds []string `protobuf:"bytes,2,rep,name=from_file_ids,json=fromFileIds" json:"from_file_ids,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"` Filter *QueryRequest_Filter `protobuf:"bytes,3,opt,name=filter" json:"filter,omitempty"`
InputSerialization *QueryRequest_InputSerialization `protobuf:"bytes,4,opt,name=input_serialization,json=inputSerialization" json:"input_serialization,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"` OutputSerialization *QueryRequest_OutputSerialization `protobuf:"bytes,5,opt,name=output_serialization,json=outputSerialization" json:"output_serialization,omitempty"`
} }
@ -1399,11 +1399,11 @@ func (m *QueryRequest) String() string { return proto.CompactTextStri
func (*QueryRequest) ProtoMessage() {} func (*QueryRequest) ProtoMessage() {}
func (*QueryRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{56} } func (*QueryRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{56} }
func (m *QueryRequest) GetSelectExpression() string { func (m *QueryRequest) GetSelections() []string {
if m != nil { if m != nil {
return m.SelectExpression return m.Selections
} }
return "" return nil
} }
func (m *QueryRequest) GetFromFileIds() []string { func (m *QueryRequest) GetFromFileIds() []string {
@ -1413,11 +1413,11 @@ func (m *QueryRequest) GetFromFileIds() []string {
return nil return nil
} }
func (m *QueryRequest) GetWhereExpression() string { func (m *QueryRequest) GetFilter() *QueryRequest_Filter {
if m != nil { if m != nil {
return m.WhereExpression return m.Filter
} }
return "" return nil
} }
func (m *QueryRequest) GetInputSerialization() *QueryRequest_InputSerialization { func (m *QueryRequest) GetInputSerialization() *QueryRequest_InputSerialization {
@ -1434,6 +1434,38 @@ func (m *QueryRequest) GetOutputSerialization() *QueryRequest_OutputSerializatio
return nil return nil
} }
type QueryRequest_Filter struct {
Field string `protobuf:"bytes,1,opt,name=field" json:"field,omitempty"`
Operand string `protobuf:"bytes,2,opt,name=operand" json:"operand,omitempty"`
Value string `protobuf:"bytes,3,opt,name=value" json:"value,omitempty"`
}
func (m *QueryRequest_Filter) Reset() { *m = QueryRequest_Filter{} }
func (m *QueryRequest_Filter) String() string { return proto.CompactTextString(m) }
func (*QueryRequest_Filter) ProtoMessage() {}
func (*QueryRequest_Filter) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{56, 0} }
func (m *QueryRequest_Filter) GetField() string {
if m != nil {
return m.Field
}
return ""
}
func (m *QueryRequest_Filter) GetOperand() string {
if m != nil {
return m.Operand
}
return ""
}
func (m *QueryRequest_Filter) GetValue() string {
if m != nil {
return m.Value
}
return ""
}
type QueryRequest_InputSerialization struct { type QueryRequest_InputSerialization struct {
// NONE | GZIP | BZIP2 // NONE | GZIP | BZIP2
CompressionType string `protobuf:"bytes,1,opt,name=compression_type,json=compressionType" json:"compression_type,omitempty"` CompressionType string `protobuf:"bytes,1,opt,name=compression_type,json=compressionType" json:"compression_type,omitempty"`
@ -1446,7 +1478,7 @@ func (m *QueryRequest_InputSerialization) Reset() { *m = QueryRequest_In
func (m *QueryRequest_InputSerialization) String() string { return proto.CompactTextString(m) } func (m *QueryRequest_InputSerialization) String() string { return proto.CompactTextString(m) }
func (*QueryRequest_InputSerialization) ProtoMessage() {} func (*QueryRequest_InputSerialization) ProtoMessage() {}
func (*QueryRequest_InputSerialization) Descriptor() ([]byte, []int) { func (*QueryRequest_InputSerialization) Descriptor() ([]byte, []int) {
return fileDescriptor0, []int{56, 0} return fileDescriptor0, []int{56, 1}
} }
func (m *QueryRequest_InputSerialization) GetCompressionType() string { func (m *QueryRequest_InputSerialization) GetCompressionType() string {
@ -1494,7 +1526,7 @@ func (m *QueryRequest_InputSerialization_CSVInput) Reset() {
func (m *QueryRequest_InputSerialization_CSVInput) String() string { return proto.CompactTextString(m) } func (m *QueryRequest_InputSerialization_CSVInput) String() string { return proto.CompactTextString(m) }
func (*QueryRequest_InputSerialization_CSVInput) ProtoMessage() {} func (*QueryRequest_InputSerialization_CSVInput) ProtoMessage() {}
func (*QueryRequest_InputSerialization_CSVInput) Descriptor() ([]byte, []int) { func (*QueryRequest_InputSerialization_CSVInput) Descriptor() ([]byte, []int) {
return fileDescriptor0, []int{56, 0, 0} return fileDescriptor0, []int{56, 1, 0}
} }
func (m *QueryRequest_InputSerialization_CSVInput) GetFileHeaderInfo() string { func (m *QueryRequest_InputSerialization_CSVInput) GetFileHeaderInfo() string {
@ -1556,7 +1588,7 @@ func (m *QueryRequest_InputSerialization_JSONInput) Reset() {
func (m *QueryRequest_InputSerialization_JSONInput) String() string { return proto.CompactTextString(m) } func (m *QueryRequest_InputSerialization_JSONInput) String() string { return proto.CompactTextString(m) }
func (*QueryRequest_InputSerialization_JSONInput) ProtoMessage() {} func (*QueryRequest_InputSerialization_JSONInput) ProtoMessage() {}
func (*QueryRequest_InputSerialization_JSONInput) Descriptor() ([]byte, []int) { func (*QueryRequest_InputSerialization_JSONInput) Descriptor() ([]byte, []int) {
return fileDescriptor0, []int{56, 0, 1} return fileDescriptor0, []int{56, 1, 1}
} }
func (m *QueryRequest_InputSerialization_JSONInput) GetType() string { func (m *QueryRequest_InputSerialization_JSONInput) GetType() string {
@ -1577,7 +1609,7 @@ func (m *QueryRequest_InputSerialization_ParquetInput) String() string {
} }
func (*QueryRequest_InputSerialization_ParquetInput) ProtoMessage() {} func (*QueryRequest_InputSerialization_ParquetInput) ProtoMessage() {}
func (*QueryRequest_InputSerialization_ParquetInput) Descriptor() ([]byte, []int) { func (*QueryRequest_InputSerialization_ParquetInput) Descriptor() ([]byte, []int) {
return fileDescriptor0, []int{56, 0, 2} return fileDescriptor0, []int{56, 1, 2}
} }
type QueryRequest_OutputSerialization struct { type QueryRequest_OutputSerialization struct {
@ -1589,7 +1621,7 @@ func (m *QueryRequest_OutputSerialization) Reset() { *m = QueryRequest_O
func (m *QueryRequest_OutputSerialization) String() string { return proto.CompactTextString(m) } func (m *QueryRequest_OutputSerialization) String() string { return proto.CompactTextString(m) }
func (*QueryRequest_OutputSerialization) ProtoMessage() {} func (*QueryRequest_OutputSerialization) ProtoMessage() {}
func (*QueryRequest_OutputSerialization) Descriptor() ([]byte, []int) { func (*QueryRequest_OutputSerialization) Descriptor() ([]byte, []int) {
return fileDescriptor0, []int{56, 1} return fileDescriptor0, []int{56, 2}
} }
func (m *QueryRequest_OutputSerialization) GetCsvOutput() *QueryRequest_OutputSerialization_CSVOutput { func (m *QueryRequest_OutputSerialization) GetCsvOutput() *QueryRequest_OutputSerialization_CSVOutput {
@ -1622,7 +1654,7 @@ func (m *QueryRequest_OutputSerialization_CSVOutput) String() string {
} }
func (*QueryRequest_OutputSerialization_CSVOutput) ProtoMessage() {} func (*QueryRequest_OutputSerialization_CSVOutput) ProtoMessage() {}
func (*QueryRequest_OutputSerialization_CSVOutput) Descriptor() ([]byte, []int) { func (*QueryRequest_OutputSerialization_CSVOutput) Descriptor() ([]byte, []int) {
return fileDescriptor0, []int{56, 1, 0} return fileDescriptor0, []int{56, 2, 0}
} }
func (m *QueryRequest_OutputSerialization_CSVOutput) GetQuoteFields() string { func (m *QueryRequest_OutputSerialization_CSVOutput) GetQuoteFields() string {
@ -1672,7 +1704,7 @@ func (m *QueryRequest_OutputSerialization_JSONOutput) String() string {
} }
func (*QueryRequest_OutputSerialization_JSONOutput) ProtoMessage() {} func (*QueryRequest_OutputSerialization_JSONOutput) ProtoMessage() {}
func (*QueryRequest_OutputSerialization_JSONOutput) Descriptor() ([]byte, []int) { func (*QueryRequest_OutputSerialization_JSONOutput) Descriptor() ([]byte, []int) {
return fileDescriptor0, []int{56, 1, 1} return fileDescriptor0, []int{56, 2, 1}
} }
func (m *QueryRequest_OutputSerialization_JSONOutput) GetRecordDelimiter() string { func (m *QueryRequest_OutputSerialization_JSONOutput) GetRecordDelimiter() string {
@ -1683,7 +1715,7 @@ func (m *QueryRequest_OutputSerialization_JSONOutput) GetRecordDelimiter() strin
} }
type QueriedStripe struct { type QueriedStripe struct {
Records [][]byte `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` Records []byte `protobuf:"bytes,1,opt,name=records,proto3" json:"records,omitempty"`
} }
func (m *QueriedStripe) Reset() { *m = QueriedStripe{} } func (m *QueriedStripe) Reset() { *m = QueriedStripe{} }
@ -1691,7 +1723,7 @@ func (m *QueriedStripe) String() string { return proto.CompactTextStr
func (*QueriedStripe) ProtoMessage() {} func (*QueriedStripe) ProtoMessage() {}
func (*QueriedStripe) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{57} } func (*QueriedStripe) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{57} }
func (m *QueriedStripe) GetRecords() [][]byte { func (m *QueriedStripe) GetRecords() []byte {
if m != nil { if m != nil {
return m.Records return m.Records
} }
@ -1756,6 +1788,7 @@ func init() {
proto.RegisterType((*DiskStatus)(nil), "volume_server_pb.DiskStatus") proto.RegisterType((*DiskStatus)(nil), "volume_server_pb.DiskStatus")
proto.RegisterType((*MemStatus)(nil), "volume_server_pb.MemStatus") proto.RegisterType((*MemStatus)(nil), "volume_server_pb.MemStatus")
proto.RegisterType((*QueryRequest)(nil), "volume_server_pb.QueryRequest") proto.RegisterType((*QueryRequest)(nil), "volume_server_pb.QueryRequest")
proto.RegisterType((*QueryRequest_Filter)(nil), "volume_server_pb.QueryRequest.Filter")
proto.RegisterType((*QueryRequest_InputSerialization)(nil), "volume_server_pb.QueryRequest.InputSerialization") 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_CSVInput)(nil), "volume_server_pb.QueryRequest.InputSerialization.CSVInput")
proto.RegisterType((*QueryRequest_InputSerialization_JSONInput)(nil), "volume_server_pb.QueryRequest.InputSerialization.JSONInput") proto.RegisterType((*QueryRequest_InputSerialization_JSONInput)(nil), "volume_server_pb.QueryRequest.InputSerialization.JSONInput")
@ -2843,158 +2876,160 @@ var _VolumeServer_serviceDesc = grpc.ServiceDesc{
func init() { proto.RegisterFile("volume_server.proto", fileDescriptor0) } func init() { proto.RegisterFile("volume_server.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{ var fileDescriptor0 = []byte{
// 2440 bytes of a gzipped FileDescriptorProto // 2473 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x1a, 0x4d, 0x73, 0x1c, 0x47, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x3a, 0x4f, 0x77, 0x1c, 0x47,
0x55, 0xeb, 0xdd, 0xf5, 0xee, 0xbe, 0x5d, 0x59, 0x72, 0x4b, 0xb6, 0xd6, 0x63, 0x4b, 0x56, 0x26, 0xf1, 0x5a, 0xef, 0x4a, 0xda, 0xad, 0x5d, 0x59, 0x72, 0x4b, 0xb1, 0x36, 0x63, 0x4b, 0x56, 0x26,
0x21, 0x96, 0xed, 0x44, 0x76, 0x14, 0x20, 0x21, 0xe1, 0xcb, 0x96, 0x65, 0x10, 0x49, 0x64, 0x32, 0x7f, 0x2c, 0xdb, 0x89, 0xec, 0x28, 0xbf, 0x1f, 0x09, 0x09, 0x01, 0x6c, 0xd9, 0x06, 0x93, 0x44,
0xeb, 0x98, 0x80, 0x53, 0x4c, 0x8d, 0x66, 0x5a, 0xd6, 0xa0, 0xd9, 0xe9, 0xf1, 0x74, 0x8f, 0xec, 0x26, 0x23, 0xc7, 0x04, 0x9c, 0xc7, 0xbc, 0xd6, 0x4c, 0xcb, 0x1a, 0x34, 0x3b, 0x3d, 0x9e, 0xee,
0x75, 0xc1, 0x29, 0x5c, 0xf9, 0x01, 0x1c, 0x29, 0x4e, 0x70, 0xe0, 0xca, 0x0f, 0xe0, 0xc2, 0x0f, 0x91, 0xbd, 0x7e, 0x70, 0x0a, 0x57, 0x3e, 0x00, 0x67, 0x4e, 0x70, 0xe0, 0xca,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, 0x33, 0x14, 0x4d, 0x5d, 0x7f, 0x2e, 0x33, 0xbf, 0xd3, 0x10,
0x59, 0xf6, 0xa6, 0x7b, 0x80, 0x27, 0xc5, 0x53, 0xa1, 0x71, 0x79, 0x52, 0x3c, 0x95, 0xb4, 0x15, 0xbb, 0x7e, 0x77, 0x93, 0x4c, 0x3d, 0x55, 0x81, 0x42, 0xc6, 0xbe, 0xde, 0x18, 0x3f, 0x95, 0x1d,
0xe7, 0xd0, 0xc7, 0xd0, 0x16, 0x57, 0x1c, 0xb4, 0x76, 0xf2, 0xdd, 0x47, 0xbb, 0x5a, 0x3e, 0x9f, 0x26, 0x2f, 0xa0, 0x99, 0x46, 0x26, 0xba, 0x3a, 0x85, 0x4f, 0xa6, 0x11, 0x6b, 0x5c, 0x6b, 0x84,
0x54, 0xf0, 0xdc, 0x80, 0xfd, 0xb3, 0xe2, 0xef, 0xa6, 0x77, 0xff, 0x17, 0x00, 0x00, 0xff, 0xff, 0x5b, 0x15, 0xbd, 0xd9, 0xd6, 0xe2, 0x49, 0xfe, 0x54, 0xea, 0x87, 0x9e, 0xe4, 0x4f, 0x15, 0xdd,
0x87, 0x4e, 0x8e, 0x7e, 0xf4, 0x24, 0x00, 0x00, 0xca, 0x19, 0xf4, 0x29, 0xcc, 0xca, 0x2b, 0x0e, 0x5a, 0x3f, 0xf9, 0xee, 0x63, 0x5c, 0xaa, 0x9e,
0x4f, 0x2b, 0x78, 0xa1, 0xc0, 0xfe, 0x9c, 0xfc, 0x69, 0xea, 0xbd, 0xff, 0x04, 0x00, 0x00, 0xff,
0xff, 0x03, 0xe0, 0xe6, 0x48, 0x4b, 0x25, 0x00, 0x00,
} }

View file

@ -1,5 +1,107 @@
package json package json
func QueryJson(jsonLine string, query string) (jsonOutput string) { import (
return jsonLine "strconv"
"github.com/chrislusf/seaweedfs/weed/query/sqltypes"
"github.com/tidwall/gjson"
"github.com/tidwall/match"
)
type Query struct {
Field string
Op string
Value string
}
func QueryJson(jsonLine string, projections []string, query Query) (passedFilter bool, values []sqltypes.Value) {
if filterJson(jsonLine, query) {
passedFilter = true
fields := gjson.GetMany(jsonLine, projections...)
for _, f := range fields {
values = append(values, sqltypes.MakeTrusted(sqltypes.Type(f.Type), sqltypes.StringToBytes(f.Raw)))
}
return
}
return false, nil
}
func filterJson(jsonLine string, query Query) bool{
value := gjson.Get(jsonLine, query.Field)
// copied from gjson.go queryMatches() function
rpv := query.Value
if !value.Exists() {
return false
}
if query.Op == "" {
// the query is only looking for existence, such as:
// friends.#(name)
// which makes sure that the array "friends" has an element of
// "name" that exists
return true
}
switch value.Type {
case gjson.String:
switch query.Op {
case "=":
return value.Str == rpv
case "!=":
return value.Str != rpv
case "<":
return value.Str < rpv
case "<=":
return value.Str <= rpv
case ">":
return value.Str > rpv
case ">=":
return value.Str >= rpv
case "%":
return match.Match(value.Str, rpv)
case "!%":
return !match.Match(value.Str, rpv)
}
case gjson.Number:
rpvn, _ := strconv.ParseFloat(rpv, 64)
switch query.Op {
case "=":
return value.Num == rpvn
case "!=":
return value.Num != rpvn
case "<":
return value.Num < rpvn
case "<=":
return value.Num <= rpvn
case ">":
return value.Num > rpvn
case ">=":
return value.Num >= rpvn
}
case gjson.True:
switch query.Op {
case "=":
return rpv == "true"
case "!=":
return rpv != "true"
case ">":
return rpv == "false"
case ">=":
return true
}
case gjson.False:
switch query.Op {
case "=":
return rpv == "false"
case "!=":
return rpv != "false"
case "<":
return rpv == "true"
case "<=":
return true
}
}
return false
} }

View file

@ -58,7 +58,7 @@ func TestGjson(t *testing.T) {
projections := []string{"quiz","fruit"} projections := []string{"quiz","fruit"}
gjson.ForEachLine(data, func(line gjson.Result) bool{ gjson.ForEachLine(data, func(line gjson.Result) bool{
println(line.String()) println(line.Raw)
println("+++++++++++") println("+++++++++++")
results := gjson.GetMany(line.Raw, projections...) results := gjson.GetMany(line.Raw, projections...)
for _, result := range results { for _, result := range results {
@ -71,3 +71,66 @@ func TestGjson(t *testing.T) {
} }
func TestJsonQueryRow(t *testing.T) {
data := `
{
"fruit": "Bl\"ue",
"size": 6,
"quiz": "green"
}
`
selections := []string{"fruit", "size"}
isFiltered, values := QueryJson(data, selections, Query{
Field: "quiz",
Op: "=",
Value: "green",
})
if !isFiltered {
t.Errorf("should have been filtered")
}
if values == nil {
t.Errorf("values should have been returned")
}
buf := ToJson(nil, selections, values)
println(string(buf))
}
func TestJsonQueryNumber(t *testing.T) {
data := `
{
"fruit": "Bl\"ue",
"size": 6,
"quiz": "green"
}
`
selections := []string{"fruit", "quiz"}
isFiltered, values := QueryJson(data, selections, Query{
Field: "size",
Op: ">=",
Value: "6",
})
if !isFiltered {
t.Errorf("should have been filtered")
}
if values == nil {
t.Errorf("values should have been returned")
}
buf := ToJson(nil, selections, values)
println(string(buf))
}

View file

@ -0,0 +1,17 @@
package json
import "github.com/chrislusf/seaweedfs/weed/query/sqltypes"
func ToJson(buf []byte, selections []string, values []sqltypes.Value) []byte {
buf = append(buf, '{')
for i, value := range values {
if i > 0 {
buf = append(buf, ',')
}
buf = append(buf, selections[i]...)
buf = append(buf, ':')
buf = append(buf, value.Raw()...)
}
buf = append(buf, '}')
return buf
}

View file

@ -4,6 +4,7 @@ import (
"github.com/chrislusf/seaweedfs/weed/glog" "github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/operation" "github.com/chrislusf/seaweedfs/weed/operation"
"github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb" "github.com/chrislusf/seaweedfs/weed/pb/volume_server_pb"
"github.com/chrislusf/seaweedfs/weed/query/json"
"github.com/chrislusf/seaweedfs/weed/storage/needle" "github.com/chrislusf/seaweedfs/weed/storage/needle"
"github.com/tidwall/gjson" "github.com/tidwall/gjson"
) )
@ -41,20 +42,28 @@ func (vs *VolumeServer) Query(req *volume_server_pb.QueryRequest, stream volume_
if req.InputSerialization.JsonInput!=nil{ if req.InputSerialization.JsonInput!=nil{
err = stream.Send(&volume_server_pb.QueriedStripe{ stripe := &volume_server_pb.QueriedStripe{
Records:nil, Records:nil,
}) }
if err != nil {
// println("sending", bytesread, "bytes err", err.Error()) filter := json.Query{
return err Field: req.Filter.Field,
Op: req.Filter.Operand,
Value:req.Filter.Value,
} }
gjson.ForEachLine(string(n.Data), func(line gjson.Result) bool{ gjson.ForEachLine(string(n.Data), func(line gjson.Result) bool{
println(line.String()) passedFilter, values := json.QueryJson(line.Raw, req.Selections, filter)
if !passedFilter {
return true
}
stripe.Records = json.ToJson(stripe.Records, req.Selections, values)
return true return true
}) })
err = stream.Send(stripe)
if err != nil {
return err
}
} }
} }