mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: use NewInsertDataWithFunctionOutputField when importing binlog file (#40741)
issue: https://github.com/milvus-io/milvus/issues/40740 Signed-off-by: Buqian Zheng <zhengbuqian@gmail.com>
This commit is contained in:
parent
e5c12421f7
commit
03b63bf982
@ -138,7 +138,7 @@ func (r *reader) readDelete(deltaLogs []string, tsStart, tsEnd uint64) (*storage
|
||||
}
|
||||
|
||||
func (r *reader) Read() (*storage.InsertData, error) {
|
||||
insertData, err := storage.NewInsertData(r.schema)
|
||||
insertData, err := storage.NewInsertDataWithFunctionOutputField(r.schema)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@ -192,7 +192,7 @@ OUTER:
|
||||
if len(masks) == 0 { // no data will undergo filtration, return directly
|
||||
return insertData, nil
|
||||
}
|
||||
result, err := storage.NewInsertData(r.schema)
|
||||
result, err := storage.NewInsertDataWithFunctionOutputField(r.schema)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user