mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-02 01:06:41 +08:00
Fix a bug of bulkinsert dynamic schema (#24405)
Signed-off-by: yhmo <yihua.mo@zilliz.com>
This commit is contained in:
parent
9c3b317e55
commit
ebdd914579
@ -117,10 +117,11 @@ func NewImportWrapper(ctx context.Context, collectionSchema *schemapb.Collection
|
||||
|
||||
// ignore the RowID field and Timestamp field
|
||||
realSchema := &schemapb.CollectionSchema{
|
||||
Name: collectionSchema.GetName(),
|
||||
Description: collectionSchema.GetDescription(),
|
||||
AutoID: collectionSchema.GetAutoID(),
|
||||
Fields: make([]*schemapb.FieldSchema, 0),
|
||||
Name: collectionSchema.GetName(),
|
||||
Description: collectionSchema.GetDescription(),
|
||||
AutoID: collectionSchema.GetAutoID(),
|
||||
Fields: make([]*schemapb.FieldSchema, 0),
|
||||
EnableDynamicField: collectionSchema.GetEnableDynamicField(),
|
||||
}
|
||||
for i := 0; i < len(collectionSchema.Fields); i++ {
|
||||
schema := collectionSchema.Fields[i]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user