mirror of https://github.com/milvus-io/milvus.git
remove unused fieldIDs and fieldTypes (#15229)
Signed-off-by: yah01 <yah2er0ne@outlook.com>pull/15237/head
parent
f36e02dfbb
commit
fd8d452cfd
|
@ -458,13 +458,6 @@ func (ibNode *insertBufferNode) bufferInsertMsg(msg *msgstream.InsertMsg, endPos
|
|||
idata := buffer.buffer
|
||||
|
||||
// 1.2 Get Fields
|
||||
var fieldIDs []int64
|
||||
var fieldTypes []schemapb.DataType
|
||||
for _, field := range collSchema.Fields {
|
||||
fieldIDs = append(fieldIDs, field.FieldID)
|
||||
fieldTypes = append(fieldTypes, field.DataType)
|
||||
}
|
||||
|
||||
blobReaders := make([]io.Reader, 0)
|
||||
for _, blob := range msg.RowData {
|
||||
blobReaders = append(blobReaders, bytes.NewReader(blob.GetValue()))
|
||||
|
|
Loading…
Reference in New Issue