mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-10-09 20:37:52 +00:00
WIP: Modify pilosa import to support string rows/columns
This PR adds a flag `pilosa import --string-keys=true` which treats the payload CSV as comma separated strings.
This commit is contained in:
parent
7c34c82eca
commit
a56410a70b
5 changed files with 655 additions and 68 deletions
85
client.go
85
client.go
|
|
@ -303,6 +303,32 @@ func (c *InternalHTTPClient) Import(ctx context.Context, index, frame string, sl
|
|||
return nil
|
||||
}
|
||||
|
||||
// ImportK bulk imports bitKs to a host.
|
||||
func (c *InternalHTTPClient) ImportK(ctx context.Context, index, frame string, bitKs []BitK) error {
|
||||
if index == "" {
|
||||
return ErrIndexRequired
|
||||
} else if frame == "" {
|
||||
return ErrFrameRequired
|
||||
}
|
||||
|
||||
buf, err := marshalImportKPayload(index, frame, bitKs)
|
||||
if err != nil {
|
||||
return fmt.Errorf("Error Creating Payload: %s", err)
|
||||
}
|
||||
|
||||
node := &Node{
|
||||
Scheme: c.defaultURI.Scheme(),
|
||||
Host: c.defaultURI.HostPort(),
|
||||
}
|
||||
|
||||
// Import to node.
|
||||
if err := c.importNode(ctx, node, buf); err != nil {
|
||||
return fmt.Errorf("import node: host=%s, err=%s", node.Host, err)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func (c *InternalHTTPClient) EnsureIndex(ctx context.Context, name string, options IndexOptions) error {
|
||||
err := c.CreateIndex(ctx, name, options)
|
||||
if err == nil || err == ErrIndexExists {
|
||||
|
|
@ -341,6 +367,27 @@ func marshalImportPayload(index, frame string, slice uint64, bits []Bit) ([]byte
|
|||
return buf, nil
|
||||
}
|
||||
|
||||
// marshalImportKPayload marshalls the import parameters into a protobuf byte slice.
|
||||
func marshalImportKPayload(index, frame string, bitKs []BitK) ([]byte, error) {
|
||||
// Separate row and column IDs to reduce allocations.
|
||||
rowKeys := BitKs(bitKs).RowKeys()
|
||||
columnKeys := BitKs(bitKs).ColumnKeys()
|
||||
timestamps := BitKs(bitKs).Timestamps()
|
||||
|
||||
// Marshal bits to protobufs.
|
||||
buf, err := proto.Marshal(&internal.ImportKRequest{
|
||||
Index: index,
|
||||
Frame: frame,
|
||||
RowKeys: rowKeys,
|
||||
ColumnKeys: columnKeys,
|
||||
Timestamps: timestamps,
|
||||
})
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("marshal import request: %s", err)
|
||||
}
|
||||
return buf, nil
|
||||
}
|
||||
|
||||
// importNode sends a pre-marshaled import request to a node.
|
||||
func (c *InternalHTTPClient) importNode(ctx context.Context, node *Node, buf []byte) error {
|
||||
// Create URL & HTTP request.
|
||||
|
|
@ -1177,6 +1224,43 @@ func (p Bits) GroupBySlice() map[uint64][]Bit {
|
|||
return m
|
||||
}
|
||||
|
||||
// BitK represents the location of a single bit as string keys.
|
||||
type BitK struct {
|
||||
RowKey string
|
||||
ColumnKey string
|
||||
Timestamp int64
|
||||
}
|
||||
|
||||
// BitKs represents a slice of bitKs.
|
||||
type BitKs []BitK
|
||||
|
||||
// RowKeys returns a slice of all the row Keys.
|
||||
func (p BitKs) RowKeys() []string {
|
||||
other := make([]string, len(p))
|
||||
for i := range p {
|
||||
other[i] = p[i].RowKey
|
||||
}
|
||||
return other
|
||||
}
|
||||
|
||||
// ColumnKeys returns a slice of all the column Keys.
|
||||
func (p BitKs) ColumnKeys() []string {
|
||||
other := make([]string, len(p))
|
||||
for i := range p {
|
||||
other[i] = p[i].ColumnKey
|
||||
}
|
||||
return other
|
||||
}
|
||||
|
||||
// Timestamps returns a slice of all the timestamps.
|
||||
func (p BitKs) Timestamps() []int64 {
|
||||
other := make([]int64, len(p))
|
||||
for i := range p {
|
||||
other[i] = p[i].Timestamp
|
||||
}
|
||||
return other
|
||||
}
|
||||
|
||||
// FieldValues represents the value for a column within a
|
||||
// range-encoded frame.
|
||||
type FieldValue struct {
|
||||
|
|
@ -1271,6 +1355,7 @@ type InternalClient interface {
|
|||
FragmentNodes(ctx context.Context, index string, slice uint64) ([]*Node, error)
|
||||
ExecuteQuery(ctx context.Context, index string, queryRequest *internal.QueryRequest) (*internal.QueryResponse, error)
|
||||
Import(ctx context.Context, index, frame string, slice uint64, bits []Bit) error
|
||||
ImportK(ctx context.Context, index, frame string, bitKs []BitK) error
|
||||
EnsureIndex(ctx context.Context, name string, options IndexOptions) error
|
||||
EnsureFrame(ctx context.Context, indexName string, frameName string, options FrameOptions) error
|
||||
ImportValue(ctx context.Context, index, frame, field string, slice uint64, vals []FieldValue) error
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ omitted. If it is present then its format should be YYYY-MM-DDTHH:MM.
|
|||
flags.StringVarP(&Importer.Index, "index", "i", "", "Pilosa index to import into.")
|
||||
flags.StringVarP(&Importer.Frame, "frame", "f", "", "Frame to import into.")
|
||||
flags.StringVarP(&Importer.Field, "field", "", "", "Field to import into.")
|
||||
flags.BoolVar(&Importer.StringKeys, "string-keys", false, "Treat payload as string keys.")
|
||||
flags.IntVarP(&Importer.BufferSize, "buffer-size", "s", 10000000, "Number of bits to buffer/sort before importing.")
|
||||
flags.BoolVarP(&Importer.Sort, "sort", "", false, "Enables sorting before import.")
|
||||
flags.BoolVarP(&Importer.CreateSchema, "create", "e", false, "Create the schema if it does not exist before import.")
|
||||
|
|
|
|||
104
ctl/import.go
104
ctl/import.go
|
|
@ -48,6 +48,9 @@ type ImportCommand struct {
|
|||
// For Range-Encoded fields, name of the Field to import into.
|
||||
Field string `json:"field"`
|
||||
|
||||
// Indicates that the payload should be treated as string keys.
|
||||
StringKeys bool `json:"StringKeys"`
|
||||
|
||||
// Filenames to import from.
|
||||
Paths []string `json:"paths"`
|
||||
|
||||
|
|
@ -131,7 +134,11 @@ func (cmd *ImportCommand) importPath(ctx context.Context, path string) error {
|
|||
if cmd.Field != "" {
|
||||
return cmd.bufferFieldValues(ctx, path)
|
||||
} else {
|
||||
return cmd.bufferBits(ctx, path)
|
||||
if cmd.StringKeys {
|
||||
return cmd.bufferBitKs(ctx, path)
|
||||
} else {
|
||||
return cmd.bufferBits(ctx, path)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -240,7 +247,102 @@ func (cmd *ImportCommand) importBits(ctx context.Context, bits []pilosa.Bit) err
|
|||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
// bufferBitKs buffers slices of keys to be imported as a batch.
|
||||
func (cmd *ImportCommand) bufferBitKs(ctx context.Context, path string) error {
|
||||
a := make([]pilosa.BitK, 0, cmd.BufferSize)
|
||||
|
||||
var r *csv.Reader
|
||||
|
||||
if path != "-" {
|
||||
// Open file for reading.
|
||||
f, err := os.Open(path)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer f.Close()
|
||||
|
||||
// Read rows as bits.
|
||||
r = csv.NewReader(f)
|
||||
} else {
|
||||
r = csv.NewReader(cmd.Stdin)
|
||||
}
|
||||
|
||||
r.FieldsPerRecord = -1
|
||||
rnum := 0
|
||||
for {
|
||||
rnum++
|
||||
|
||||
// Read CSV row.
|
||||
record, err := r.Read()
|
||||
if err == io.EOF {
|
||||
break
|
||||
} else if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
// Ignore blank rows.
|
||||
if record[0] == "" {
|
||||
continue
|
||||
} else if len(record) < 2 {
|
||||
return fmt.Errorf("bad column count on row %d: col=%d", rnum, len(record))
|
||||
}
|
||||
|
||||
var bitK pilosa.BitK
|
||||
|
||||
// Parse row key.
|
||||
if record[0] == "" {
|
||||
return fmt.Errorf("invalid row key on row %d: %q", rnum, record[0])
|
||||
}
|
||||
bitK.RowKey = record[0]
|
||||
|
||||
// Parse column key.
|
||||
if record[1] == "" {
|
||||
return fmt.Errorf("invalid column id on row %d: %q", rnum, record[1])
|
||||
}
|
||||
bitK.ColumnKey = record[1]
|
||||
|
||||
// Parse time, if exists.
|
||||
if len(record) > 2 && record[2] != "" {
|
||||
t, err := time.Parse(pilosa.TimeFormat, record[2])
|
||||
if err != nil {
|
||||
return fmt.Errorf("invalid timestamp on row %d: %q", rnum, record[2])
|
||||
}
|
||||
bitK.Timestamp = t.UnixNano()
|
||||
}
|
||||
|
||||
a = append(a, bitK)
|
||||
|
||||
// If we've reached the buffer size then import bitKs.
|
||||
if len(a) == cmd.BufferSize {
|
||||
if err := cmd.importBitKs(ctx, a); err != nil {
|
||||
return err
|
||||
}
|
||||
a = a[:0]
|
||||
}
|
||||
}
|
||||
|
||||
// If there are still bitKs in the buffer then flush them.
|
||||
if err := cmd.importBitKs(ctx, a); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
// importBitKs sends batches of bitKs to the server.
|
||||
func (cmd *ImportCommand) importBitKs(ctx context.Context, bitKs []pilosa.BitK) error {
|
||||
logger := log.New(cmd.Stderr, "", log.LstdFlags)
|
||||
|
||||
// TODO: does it help to sort the rowKeys?
|
||||
|
||||
logger.Printf("importing keys: n=%d", len(bitKs))
|
||||
if err := cmd.Client.ImportK(ctx, cmd.Index, cmd.Frame, bitKs); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
// bufferFieldValues buffers slices of fieldValues to be imported as a batch.
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
QueryResponse
|
||||
QueryResult
|
||||
ImportRequest
|
||||
ImportKRequest
|
||||
ImportValueRequest
|
||||
*/
|
||||
package internal
|
||||
|
|
@ -465,6 +466,54 @@ func (m *ImportRequest) GetTimestamps() []int64 {
|
|||
return nil
|
||||
}
|
||||
|
||||
type ImportKRequest struct {
|
||||
Index string `protobuf:"bytes,1,opt,name=Index,proto3" json:"Index,omitempty"`
|
||||
Frame string `protobuf:"bytes,2,opt,name=Frame,proto3" json:"Frame,omitempty"`
|
||||
RowKeys []string `protobuf:"bytes,3,rep,name=RowKeys" json:"RowKeys,omitempty"`
|
||||
ColumnKeys []string `protobuf:"bytes,4,rep,name=ColumnKeys" json:"ColumnKeys,omitempty"`
|
||||
Timestamps []int64 `protobuf:"varint,5,rep,packed,name=Timestamps" json:"Timestamps,omitempty"`
|
||||
}
|
||||
|
||||
func (m *ImportKRequest) Reset() { *m = ImportKRequest{} }
|
||||
func (m *ImportKRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ImportKRequest) ProtoMessage() {}
|
||||
func (*ImportKRequest) Descriptor() ([]byte, []int) { return fileDescriptorPublic, []int{11} }
|
||||
|
||||
func (m *ImportKRequest) GetIndex() string {
|
||||
if m != nil {
|
||||
return m.Index
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ImportKRequest) GetFrame() string {
|
||||
if m != nil {
|
||||
return m.Frame
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ImportKRequest) GetRowKeys() []string {
|
||||
if m != nil {
|
||||
return m.RowKeys
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ImportKRequest) GetColumnKeys() []string {
|
||||
if m != nil {
|
||||
return m.ColumnKeys
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ImportKRequest) GetTimestamps() []int64 {
|
||||
if m != nil {
|
||||
return m.Timestamps
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
type ImportValueRequest struct {
|
||||
Index string `protobuf:"bytes,1,opt,name=Index,proto3" json:"Index,omitempty"`
|
||||
Frame string `protobuf:"bytes,2,opt,name=Frame,proto3" json:"Frame,omitempty"`
|
||||
|
|
@ -477,7 +526,7 @@ type ImportValueRequest struct {
|
|||
func (m *ImportValueRequest) Reset() { *m = ImportValueRequest{} }
|
||||
func (m *ImportValueRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ImportValueRequest) ProtoMessage() {}
|
||||
func (*ImportValueRequest) Descriptor() ([]byte, []int) { return fileDescriptorPublic, []int{11} }
|
||||
func (*ImportValueRequest) Descriptor() ([]byte, []int) { return fileDescriptorPublic, []int{12} }
|
||||
|
||||
func (m *ImportValueRequest) GetIndex() string {
|
||||
if m != nil {
|
||||
|
|
@ -533,6 +582,7 @@ func init() {
|
|||
proto.RegisterType((*QueryResponse)(nil), "internal.QueryResponse")
|
||||
proto.RegisterType((*QueryResult)(nil), "internal.QueryResult")
|
||||
proto.RegisterType((*ImportRequest)(nil), "internal.ImportRequest")
|
||||
proto.RegisterType((*ImportKRequest)(nil), "internal.ImportKRequest")
|
||||
proto.RegisterType((*ImportValueRequest)(nil), "internal.ImportValueRequest")
|
||||
}
|
||||
func (m *Bitmap) Marshal() (dAtA []byte, err error) {
|
||||
|
|
@ -1104,6 +1154,84 @@ func (m *ImportRequest) MarshalTo(dAtA []byte) (int, error) {
|
|||
return i, nil
|
||||
}
|
||||
|
||||
func (m *ImportKRequest) Marshal() (dAtA []byte, err error) {
|
||||
size := m.Size()
|
||||
dAtA = make([]byte, size)
|
||||
n, err := m.MarshalTo(dAtA)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return dAtA[:n], nil
|
||||
}
|
||||
|
||||
func (m *ImportKRequest) MarshalTo(dAtA []byte) (int, error) {
|
||||
var i int
|
||||
_ = i
|
||||
var l int
|
||||
_ = l
|
||||
if len(m.Index) > 0 {
|
||||
dAtA[i] = 0xa
|
||||
i++
|
||||
i = encodeVarintPublic(dAtA, i, uint64(len(m.Index)))
|
||||
i += copy(dAtA[i:], m.Index)
|
||||
}
|
||||
if len(m.Frame) > 0 {
|
||||
dAtA[i] = 0x12
|
||||
i++
|
||||
i = encodeVarintPublic(dAtA, i, uint64(len(m.Frame)))
|
||||
i += copy(dAtA[i:], m.Frame)
|
||||
}
|
||||
if len(m.RowKeys) > 0 {
|
||||
for _, s := range m.RowKeys {
|
||||
dAtA[i] = 0x1a
|
||||
i++
|
||||
l = len(s)
|
||||
for l >= 1<<7 {
|
||||
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
|
||||
l >>= 7
|
||||
i++
|
||||
}
|
||||
dAtA[i] = uint8(l)
|
||||
i++
|
||||
i += copy(dAtA[i:], s)
|
||||
}
|
||||
}
|
||||
if len(m.ColumnKeys) > 0 {
|
||||
for _, s := range m.ColumnKeys {
|
||||
dAtA[i] = 0x22
|
||||
i++
|
||||
l = len(s)
|
||||
for l >= 1<<7 {
|
||||
dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
|
||||
l >>= 7
|
||||
i++
|
||||
}
|
||||
dAtA[i] = uint8(l)
|
||||
i++
|
||||
i += copy(dAtA[i:], s)
|
||||
}
|
||||
}
|
||||
if len(m.Timestamps) > 0 {
|
||||
dAtA14 := make([]byte, len(m.Timestamps)*10)
|
||||
var j13 int
|
||||
for _, num1 := range m.Timestamps {
|
||||
num := uint64(num1)
|
||||
for num >= 1<<7 {
|
||||
dAtA14[j13] = uint8(uint64(num)&0x7f | 0x80)
|
||||
num >>= 7
|
||||
j13++
|
||||
}
|
||||
dAtA14[j13] = uint8(num)
|
||||
j13++
|
||||
}
|
||||
dAtA[i] = 0x2a
|
||||
i++
|
||||
i = encodeVarintPublic(dAtA, i, uint64(j13))
|
||||
i += copy(dAtA[i:], dAtA14[:j13])
|
||||
}
|
||||
return i, nil
|
||||
}
|
||||
|
||||
func (m *ImportValueRequest) Marshal() (dAtA []byte, err error) {
|
||||
size := m.Size()
|
||||
dAtA = make([]byte, size)
|
||||
|
|
@ -1143,27 +1271,9 @@ func (m *ImportValueRequest) MarshalTo(dAtA []byte) (int, error) {
|
|||
i += copy(dAtA[i:], m.Field)
|
||||
}
|
||||
if len(m.ColumnIDs) > 0 {
|
||||
dAtA14 := make([]byte, len(m.ColumnIDs)*10)
|
||||
var j13 int
|
||||
for _, num := range m.ColumnIDs {
|
||||
for num >= 1<<7 {
|
||||
dAtA14[j13] = uint8(uint64(num)&0x7f | 0x80)
|
||||
num >>= 7
|
||||
j13++
|
||||
}
|
||||
dAtA14[j13] = uint8(num)
|
||||
j13++
|
||||
}
|
||||
dAtA[i] = 0x2a
|
||||
i++
|
||||
i = encodeVarintPublic(dAtA, i, uint64(j13))
|
||||
i += copy(dAtA[i:], dAtA14[:j13])
|
||||
}
|
||||
if len(m.Values) > 0 {
|
||||
dAtA16 := make([]byte, len(m.Values)*10)
|
||||
dAtA16 := make([]byte, len(m.ColumnIDs)*10)
|
||||
var j15 int
|
||||
for _, num1 := range m.Values {
|
||||
num := uint64(num1)
|
||||
for _, num := range m.ColumnIDs {
|
||||
for num >= 1<<7 {
|
||||
dAtA16[j15] = uint8(uint64(num)&0x7f | 0x80)
|
||||
num >>= 7
|
||||
|
|
@ -1172,11 +1282,29 @@ func (m *ImportValueRequest) MarshalTo(dAtA []byte) (int, error) {
|
|||
dAtA16[j15] = uint8(num)
|
||||
j15++
|
||||
}
|
||||
dAtA[i] = 0x32
|
||||
dAtA[i] = 0x2a
|
||||
i++
|
||||
i = encodeVarintPublic(dAtA, i, uint64(j15))
|
||||
i += copy(dAtA[i:], dAtA16[:j15])
|
||||
}
|
||||
if len(m.Values) > 0 {
|
||||
dAtA18 := make([]byte, len(m.Values)*10)
|
||||
var j17 int
|
||||
for _, num1 := range m.Values {
|
||||
num := uint64(num1)
|
||||
for num >= 1<<7 {
|
||||
dAtA18[j17] = uint8(uint64(num)&0x7f | 0x80)
|
||||
num >>= 7
|
||||
j17++
|
||||
}
|
||||
dAtA18[j17] = uint8(num)
|
||||
j17++
|
||||
}
|
||||
dAtA[i] = 0x32
|
||||
i++
|
||||
i = encodeVarintPublic(dAtA, i, uint64(j17))
|
||||
i += copy(dAtA[i:], dAtA18[:j17])
|
||||
}
|
||||
return i, nil
|
||||
}
|
||||
|
||||
|
|
@ -1450,6 +1578,39 @@ func (m *ImportRequest) Size() (n int) {
|
|||
return n
|
||||
}
|
||||
|
||||
func (m *ImportKRequest) Size() (n int) {
|
||||
var l int
|
||||
_ = l
|
||||
l = len(m.Index)
|
||||
if l > 0 {
|
||||
n += 1 + l + sovPublic(uint64(l))
|
||||
}
|
||||
l = len(m.Frame)
|
||||
if l > 0 {
|
||||
n += 1 + l + sovPublic(uint64(l))
|
||||
}
|
||||
if len(m.RowKeys) > 0 {
|
||||
for _, s := range m.RowKeys {
|
||||
l = len(s)
|
||||
n += 1 + l + sovPublic(uint64(l))
|
||||
}
|
||||
}
|
||||
if len(m.ColumnKeys) > 0 {
|
||||
for _, s := range m.ColumnKeys {
|
||||
l = len(s)
|
||||
n += 1 + l + sovPublic(uint64(l))
|
||||
}
|
||||
}
|
||||
if len(m.Timestamps) > 0 {
|
||||
l = 0
|
||||
for _, e := range m.Timestamps {
|
||||
l += sovPublic(uint64(e))
|
||||
}
|
||||
n += 1 + sovPublic(uint64(l)) + l
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
func (m *ImportValueRequest) Size() (n int) {
|
||||
var l int
|
||||
_ = l
|
||||
|
|
@ -3256,6 +3417,234 @@ func (m *ImportRequest) Unmarshal(dAtA []byte) error {
|
|||
}
|
||||
return nil
|
||||
}
|
||||
func (m *ImportKRequest) Unmarshal(dAtA []byte) error {
|
||||
l := len(dAtA)
|
||||
iNdEx := 0
|
||||
for iNdEx < l {
|
||||
preIndex := iNdEx
|
||||
var wire uint64
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowPublic
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
wire |= (uint64(b) & 0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
fieldNum := int32(wire >> 3)
|
||||
wireType := int(wire & 0x7)
|
||||
if wireType == 4 {
|
||||
return fmt.Errorf("proto: ImportKRequest: wiretype end group for non-group")
|
||||
}
|
||||
if fieldNum <= 0 {
|
||||
return fmt.Errorf("proto: ImportKRequest: illegal tag %d (wire type %d)", fieldNum, wire)
|
||||
}
|
||||
switch fieldNum {
|
||||
case 1:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Index", wireType)
|
||||
}
|
||||
var stringLen uint64
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowPublic
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
stringLen |= (uint64(b) & 0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
intStringLen := int(stringLen)
|
||||
if intStringLen < 0 {
|
||||
return ErrInvalidLengthPublic
|
||||
}
|
||||
postIndex := iNdEx + intStringLen
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
m.Index = string(dAtA[iNdEx:postIndex])
|
||||
iNdEx = postIndex
|
||||
case 2:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Frame", wireType)
|
||||
}
|
||||
var stringLen uint64
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowPublic
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
stringLen |= (uint64(b) & 0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
intStringLen := int(stringLen)
|
||||
if intStringLen < 0 {
|
||||
return ErrInvalidLengthPublic
|
||||
}
|
||||
postIndex := iNdEx + intStringLen
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
m.Frame = string(dAtA[iNdEx:postIndex])
|
||||
iNdEx = postIndex
|
||||
case 3:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field RowKeys", wireType)
|
||||
}
|
||||
var stringLen uint64
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowPublic
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
stringLen |= (uint64(b) & 0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
intStringLen := int(stringLen)
|
||||
if intStringLen < 0 {
|
||||
return ErrInvalidLengthPublic
|
||||
}
|
||||
postIndex := iNdEx + intStringLen
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
m.RowKeys = append(m.RowKeys, string(dAtA[iNdEx:postIndex]))
|
||||
iNdEx = postIndex
|
||||
case 4:
|
||||
if wireType != 2 {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field ColumnKeys", wireType)
|
||||
}
|
||||
var stringLen uint64
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowPublic
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
stringLen |= (uint64(b) & 0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
intStringLen := int(stringLen)
|
||||
if intStringLen < 0 {
|
||||
return ErrInvalidLengthPublic
|
||||
}
|
||||
postIndex := iNdEx + intStringLen
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
m.ColumnKeys = append(m.ColumnKeys, string(dAtA[iNdEx:postIndex]))
|
||||
iNdEx = postIndex
|
||||
case 5:
|
||||
if wireType == 0 {
|
||||
var v int64
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowPublic
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
v |= (int64(b) & 0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
m.Timestamps = append(m.Timestamps, v)
|
||||
} else if wireType == 2 {
|
||||
var packedLen int
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowPublic
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
packedLen |= (int(b) & 0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
if packedLen < 0 {
|
||||
return ErrInvalidLengthPublic
|
||||
}
|
||||
postIndex := iNdEx + packedLen
|
||||
if postIndex > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
for iNdEx < postIndex {
|
||||
var v int64
|
||||
for shift := uint(0); ; shift += 7 {
|
||||
if shift >= 64 {
|
||||
return ErrIntOverflowPublic
|
||||
}
|
||||
if iNdEx >= l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
b := dAtA[iNdEx]
|
||||
iNdEx++
|
||||
v |= (int64(b) & 0x7F) << shift
|
||||
if b < 0x80 {
|
||||
break
|
||||
}
|
||||
}
|
||||
m.Timestamps = append(m.Timestamps, v)
|
||||
}
|
||||
} else {
|
||||
return fmt.Errorf("proto: wrong wireType = %d for field Timestamps", wireType)
|
||||
}
|
||||
default:
|
||||
iNdEx = preIndex
|
||||
skippy, err := skipPublic(dAtA[iNdEx:])
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if skippy < 0 {
|
||||
return ErrInvalidLengthPublic
|
||||
}
|
||||
if (iNdEx + skippy) > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
iNdEx += skippy
|
||||
}
|
||||
}
|
||||
|
||||
if iNdEx > l {
|
||||
return io.ErrUnexpectedEOF
|
||||
}
|
||||
return nil
|
||||
}
|
||||
func (m *ImportValueRequest) Unmarshal(dAtA []byte) error {
|
||||
l := len(dAtA)
|
||||
iNdEx := 0
|
||||
|
|
@ -3644,48 +4033,50 @@ var (
|
|||
func init() { proto.RegisterFile("public.proto", fileDescriptorPublic) }
|
||||
|
||||
var fileDescriptorPublic = []byte{
|
||||
// 678 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xcb, 0x6e, 0xd3, 0x40,
|
||||
0x14, 0x65, 0x62, 0xe7, 0x75, 0x93, 0x54, 0xd5, 0x08, 0x8a, 0x85, 0x50, 0x64, 0x59, 0x2c, 0xbc,
|
||||
0x4a, 0xa5, 0xb0, 0x07, 0x91, 0x3e, 0xa4, 0xa8, 0xa2, 0x82, 0x9b, 0x52, 0xd6, 0x6e, 0x3b, 0x2a,
|
||||
0x96, 0xfc, 0xc2, 0x1e, 0x8b, 0xe6, 0x3b, 0xd8, 0xb0, 0x66, 0x03, 0x1f, 0xc1, 0x07, 0xc0, 0x8e,
|
||||
0x4f, 0x40, 0xe1, 0x47, 0xd0, 0x9d, 0xf1, 0xd8, 0x0e, 0x95, 0x80, 0x05, 0xbb, 0x39, 0xe7, 0xcc,
|
||||
0x5c, 0xdf, 0xc7, 0xb9, 0x86, 0x71, 0x56, 0x5e, 0x44, 0xe1, 0xe5, 0x2c, 0xcb, 0x53, 0x99, 0xf2,
|
||||
0x41, 0x98, 0x48, 0x91, 0x27, 0x41, 0xe4, 0x9d, 0x43, 0x6f, 0x11, 0xca, 0x38, 0xc8, 0x38, 0x07,
|
||||
0x7b, 0x11, 0xca, 0xc2, 0x61, 0xae, 0xe5, 0xdb, 0xa8, 0xce, 0xfc, 0x11, 0x74, 0x9f, 0x49, 0x99,
|
||||
0x17, 0x4e, 0xc7, 0xb5, 0xfc, 0xd1, 0x7c, 0x67, 0x66, 0xde, 0xcd, 0x88, 0x46, 0x2d, 0xd2, 0xcb,
|
||||
0x13, 0xb1, 0x2e, 0x1c, 0xcb, 0xb5, 0xfc, 0x21, 0xaa, 0xb3, 0xf7, 0x04, 0xec, 0x17, 0x41, 0x98,
|
||||
0xf3, 0x1d, 0xe8, 0x2c, 0x0f, 0x1d, 0xe6, 0x32, 0x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x81, 0xfe, 0xc1, 0x9b, 0x20, 0xb9, 0x16, 0x57, 0xca, 0x4c, 0x03, 0x34, 0x90,
|
||||
0xcf, 0x9a, 0xe5, 0x54, 0xdd, 0x1f, 0xcd, 0x79, 0x13, 0xc2, 0x28, 0xd8, 0x2c, 0xb0, 0x71, 0x33,
|
||||
0xcd, 0x62, 0xa2, 0xdd, 0xec, 0x7d, 0x62, 0x30, 0x59, 0xc6, 0x59, 0x9a, 0xcb, 0x96, 0x43, 0x96,
|
||||
0xc9, 0x95, 0xb8, 0x31, 0x0e, 0x51, 0x80, 0xd8, 0xe3, 0x3c, 0x88, 0xf5, 0x2a, 0x0c, 0x51, 0x03,
|
||||
0x62, 0x95, 0x53, 0x94, 0x33, 0x6c, 0xd4, 0x40, 0x79, 0x82, 0x96, 0xbd, 0x70, 0x6c, 0xed, 0x26,
|
||||
0x8d, 0xc8, 0xfb, 0x66, 0xd7, 0x0b, 0xa7, 0xab, 0xa4, 0x86, 0x20, 0xef, 0xd7, 0xcb, 0x4e, 0x7e,
|
||||
0xb1, 0x7c, 0x0b, 0x5b, 0x8c, 0xf7, 0x91, 0x01, 0xd7, 0x99, 0xaa, 0x5d, 0xf8, 0x7f, 0xe9, 0xd2,
|
||||
0xdd, 0x50, 0x44, 0xba, 0xbd, 0x74, 0x97, 0xc0, 0x5f, 0x92, 0xdd, 0x83, 0x9e, 0xca, 0xc2, 0x24,
|
||||
0x5a, 0xa1, 0xc5, 0xee, 0xd7, 0xcd, 0x94, 0x7d, 0xdf, 0x4c, 0xd9, 0x8f, 0xcd, 0x94, 0x7d, 0xf8,
|
||||
0x39, 0xbd, 0x73, 0xd1, 0x53, 0xbf, 0xfa, 0xc7, 0xbf, 0x02, 0x00, 0x00, 0xff, 0xff, 0xe7, 0x6f,
|
||||
0xfd, 0x3f, 0xfa, 0x05, 0x00, 0x00,
|
||||
// 712 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xcb, 0x6a, 0x14, 0x41,
|
||||
0x14, 0xb5, 0xa6, 0x7b, 0x5e, 0x77, 0x1e, 0x84, 0x42, 0x63, 0x23, 0x32, 0x34, 0x8d, 0x8b, 0x5e,
|
||||
0x4d, 0x60, 0xdc, 0x2b, 0x4e, 0x1e, 0x30, 0x04, 0x83, 0xd6, 0xc4, 0xb8, 0xee, 0x24, 0x45, 0x6c,
|
||||
0xe8, 0x97, 0xdd, 0xd5, 0x24, 0xf3, 0x1d, 0x82, 0xb8, 0x76, 0xa3, 0x1f, 0xe1, 0x07, 0xe8, 0xce,
|
||||
0x4f, 0x90, 0xf8, 0x23, 0x72, 0x6f, 0x75, 0x4d, 0xf7, 0x24, 0xa0, 0x22, 0xee, 0xea, 0x9c, 0x53,
|
||||
0x75, 0xfb, 0x3e, 0xce, 0x9d, 0x81, 0x61, 0x56, 0x9e, 0x46, 0xe1, 0xd9, 0x34, 0xcb, 0x53, 0x95,
|
||||
0xf2, 0x5e, 0x98, 0x28, 0x99, 0x27, 0x41, 0xe4, 0x9d, 0x40, 0x67, 0x1e, 0xaa, 0x38, 0xc8, 0x38,
|
||||
0x07, 0x7b, 0x1e, 0xaa, 0xc2, 0x61, 0xae, 0xe5, 0xdb, 0x82, 0xce, 0xfc, 0x11, 0xb4, 0x9f, 0x29,
|
||||
0x95, 0x17, 0x4e, 0xcb, 0xb5, 0xfc, 0xc1, 0x6c, 0x3c, 0x35, 0xef, 0xa6, 0x48, 0x0b, 0x2d, 0xe2,
|
||||
0xcb, 0x43, 0xb9, 0x2a, 0x1c, 0xcb, 0xb5, 0xfc, 0xbe, 0xa0, 0xb3, 0xf7, 0x04, 0xec, 0x17, 0x41,
|
||||
0x98, 0xf3, 0x31, 0xb4, 0x16, 0x7b, 0x0e, 0x73, 0x99, 0x6f, 0x8b, 0xd6, 0x62, 0x8f, 0xdf, 0x85,
|
||||
0xf6, 0x6e, 0x5a, 0x26, 0xca, 0x69, 0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0x4b, 0x99, 0xaf, 0x84, 0x7c, 0x5b, 0xca, 0x82, 0xa6, 0x42, 0xb8, 0xaa,
|
||||
0x52, 0x03, 0xbe, 0x0d, 0x9d, 0x65, 0x14, 0x9e, 0x49, 0xdd, 0x3b, 0x5b, 0x54, 0x08, 0x6b, 0xad,
|
||||
0x7b, 0x5e, 0x50, 0xad, 0x3d, 0xd1, 0xa4, 0xf0, 0xa5, 0x90, 0x71, 0xaa, 0x4c, 0x31, 0x15, 0xe2,
|
||||
0x1e, 0x0c, 0xf7, 0xaf, 0xce, 0xa2, 0xf2, 0x5c, 0xea, 0xa7, 0x1d, 0x52, 0x37, 0x38, 0x8c, 0x5e,
|
||||
0x61, 0x72, 0x7c, 0x57, 0x47, 0x6f, 0x50, 0xde, 0x3b, 0x06, 0xa3, 0x2a, 0xfd, 0x22, 0x4b, 0x93,
|
||||
0x42, 0xe2, 0x8c, 0xf6, 0xf3, 0xdc, 0xcc, 0x68, 0x3f, 0xcf, 0xf9, 0x0e, 0x74, 0x85, 0x2c, 0xca,
|
||||
0x48, 0x99, 0xc1, 0xdf, 0xab, 0x5b, 0x61, 0xde, 0x96, 0x91, 0x12, 0xe6, 0x16, 0x7f, 0x0a, 0xe3,
|
||||
0x0d, 0x23, 0xe9, 0x8d, 0x19, 0xcc, 0xee, 0xd7, 0xef, 0x36, 0x74, 0x71, 0xe3, 0xba, 0xf7, 0x8d,
|
||||
0xc1, 0xa0, 0x11, 0x99, 0xfb, 0x66, 0x79, 0x29, 0xad, 0xc1, 0x6c, 0xab, 0x0e, 0xa4, 0x79, 0x61,
|
||||
0x96, 0x7b, 0x08, 0xec, 0xa8, 0x32, 0x13, 0x3b, 0xc2, 0x11, 0xe2, 0x72, 0x9a, 0xef, 0x37, 0x46,
|
||||
0x88, 0xb4, 0xd0, 0x22, 0x77, 0xa0, 0xbb, 0xfb, 0x26, 0x48, 0x2e, 0xe4, 0x39, 0x99, 0xa9, 0x27,
|
||||
0x0c, 0xe4, 0xd3, 0x7a, 0x39, 0xa9, 0xfb, 0x83, 0x19, 0xaf, 0x43, 0x18, 0x45, 0xd4, 0x0b, 0x6c,
|
||||
0xdc, 0x8c, 0xb3, 0x18, 0x69, 0x37, 0x7b, 0x9f, 0x18, 0x8c, 0x16, 0x71, 0x96, 0xe6, 0xaa, 0xe1,
|
||||
0x90, 0x45, 0x72, 0x2e, 0xaf, 0x8c, 0x43, 0x08, 0x20, 0x7b, 0x90, 0x07, 0xb1, 0x5e, 0x85, 0xbe,
|
||||
0xd0, 0x00, 0x59, 0x72, 0x0a, 0x39, 0xc3, 0x16, 0x1a, 0x90, 0x27, 0x70, 0xd9, 0x0b, 0xc7, 0xd6,
|
||||
0x6e, 0xd2, 0x08, 0xbd, 0x6f, 0x76, 0xbd, 0x70, 0xda, 0x24, 0xd5, 0x04, 0x7a, 0x7f, 0xbd, 0xec,
|
||||
0xe8, 0x17, 0xcb, 0xb7, 0x44, 0x83, 0xf1, 0xde, 0x33, 0x18, 0xeb, 0x4c, 0x0f, 0xff, 0x25, 0x55,
|
||||
0x07, 0xba, 0x22, 0xbd, 0x6c, 0xfc, 0x40, 0x1a, 0x88, 0x1f, 0xd6, 0x59, 0x90, 0x68, 0x93, 0xd8,
|
||||
0x60, 0x6e, 0x24, 0xd6, 0xbe, 0x95, 0xd8, 0x47, 0x06, 0x5c, 0x27, 0x46, 0x4b, 0xfa, 0xff, 0xfa,
|
||||
0x88, 0x77, 0x43, 0x19, 0xe9, 0xb9, 0xe3, 0x5d, 0x04, 0x7f, 0xe8, 0xe2, 0x36, 0x74, 0x28, 0x0b,
|
||||
0xd3, 0xc1, 0x0a, 0xcd, 0xb7, 0xbe, 0x5e, 0x4f, 0xd8, 0xf7, 0xeb, 0x09, 0xfb, 0x71, 0x3d, 0x61,
|
||||
0x1f, 0x7e, 0x4e, 0xee, 0x9c, 0x76, 0xe8, 0x3f, 0xe8, 0xf1, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff,
|
||||
0xf3, 0x62, 0xbb, 0x7d, 0x93, 0x06, 0x00, 0x00,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ message Attr {
|
|||
}
|
||||
|
||||
message AttrMap {
|
||||
repeated Attr Attrs = 1;
|
||||
repeated Attr Attrs = 1;
|
||||
}
|
||||
|
||||
message QueryRequest {
|
||||
|
|
@ -77,6 +77,14 @@ message ImportRequest {
|
|||
repeated int64 Timestamps = 6;
|
||||
}
|
||||
|
||||
message ImportKRequest {
|
||||
string Index = 1;
|
||||
string Frame = 2;
|
||||
repeated string RowKeys = 3;
|
||||
repeated string ColumnKeys = 4;
|
||||
repeated int64 Timestamps = 5;
|
||||
}
|
||||
|
||||
message ImportValueRequest {
|
||||
string Index = 1;
|
||||
string Frame = 2;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue