mirror of https://github.com/milvus-io/milvus.git
fix default value store unknown type (#24477)
Signed-off-by: lixinguo <xinguo.li@zilliz.com> Co-authored-by: lixinguo <xinguo.li@zilliz.com>pull/24518/head
parent
a2ba2f7899
commit
708c724ccc
|
@ -126,6 +126,7 @@ func UnmarshalFieldModel(fieldSchema *schemapb.FieldSchema) *Field {
|
||||||
IndexParams: fieldSchema.IndexParams,
|
IndexParams: fieldSchema.IndexParams,
|
||||||
AutoID: fieldSchema.AutoID,
|
AutoID: fieldSchema.AutoID,
|
||||||
IsDynamic: fieldSchema.IsDynamic,
|
IsDynamic: fieldSchema.IsDynamic,
|
||||||
|
DefaultValue: fieldSchema.DefaultValue,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -503,6 +503,7 @@ func (dct *describeCollectionTask) Execute(ctx context.Context) error {
|
||||||
TypeParams: field.TypeParams,
|
TypeParams: field.TypeParams,
|
||||||
IndexParams: field.IndexParams,
|
IndexParams: field.IndexParams,
|
||||||
IsDynamic: field.IsDynamic,
|
IsDynamic: field.IsDynamic,
|
||||||
|
DefaultValue: field.DefaultValue,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue