mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
parent
fd07a44dba
commit
a493151f70
@ -370,14 +370,14 @@ func (it *InsertTask) transferColumnBasedRequestToRowBasedData() error {
|
||||
}
|
||||
blob.Value = append(blob.Value, buffer.Bytes()...)
|
||||
case schemapb.DataType_Int8:
|
||||
d := datas[j][i].(int8)
|
||||
d := int8(datas[j][i].(int32))
|
||||
err := binary.Write(&buffer, endian, d)
|
||||
if err != nil {
|
||||
log.Warn("ConvertData", zap.Error(err))
|
||||
}
|
||||
blob.Value = append(blob.Value, buffer.Bytes()...)
|
||||
case schemapb.DataType_Int16:
|
||||
d := datas[j][i].(int16)
|
||||
d := int16(datas[j][i].(int32))
|
||||
err := binary.Write(&buffer, endian, d)
|
||||
if err != nil {
|
||||
log.Warn("ConvertData", zap.Error(err))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user