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
smellthemoon 2023-05-30 14:51:28 +08:00 committed by GitHub
parent a2ba2f7899
commit 708c724ccc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -126,6 +126,7 @@ func UnmarshalFieldModel(fieldSchema *schemapb.FieldSchema) *Field {
IndexParams: fieldSchema.IndexParams,
AutoID: fieldSchema.AutoID,
IsDynamic: fieldSchema.IsDynamic,
DefaultValue: fieldSchema.DefaultValue,
}
}

View File

@ -503,6 +503,7 @@ func (dct *describeCollectionTask) Execute(ctx context.Context) error {
TypeParams: field.TypeParams,
IndexParams: field.IndexParams,
IsDynamic: field.IsDynamic,
DefaultValue: field.DefaultValue,
})
}
}