[skip e2e] Add comment for isVector (#13654)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/13628/merge
Jiquan Long 2021-12-17 21:54:42 +08:00 committed by GitHub
parent b0baff2249
commit d5821ad18a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -231,6 +231,7 @@ func RepeatedKeyValToMap(kvPairs []*commonpb.KeyValuePair) (map[string]string, e
return resMap, nil
}
// isVector check if dataType belongs to vector type.
func isVector(dataType schemapb.DataType) (bool, error) {
switch dataType {
case schemapb.DataType_Bool, schemapb.DataType_Int8,