未验证 提交 ebdd9145 编写于 作者: G groot 提交者: GitHub

Fix a bug of bulkinsert dynamic schema (#24405)

Signed-off-by: Nyhmo <yihua.mo@zilliz.com>
上级 9c3b317e
......@@ -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]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册