Remove checking of VectorFieldMetricType in create_collection

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
This commit is contained in:
zhenshan.cao 2021-02-24 18:14:59 +08:00 committed by yefu.chen
parent c149995bcd
commit bbc65e0b14

View File

@ -344,9 +344,6 @@ func (cct *CreateCollectionTask) PreExecute(ctx context.Context) error {
}
}
}
if err := ValidateVectorFieldMetricType(field); err != nil {
return err
}
}
return nil