Skip to content

Commit

Permalink
Fix max_length check (#25208)
Browse files Browse the repository at this point in the history
Signed-off-by: xige-16 <xi.ge@zilliz.com>
  • Loading branch information
xige-16 committed Jun 30, 2023
1 parent b393f95 commit 4b916f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/proxy/util.go
Expand Up @@ -294,7 +294,7 @@ func validateMaxLengthPerRow(collectionName string, field *schemapb.FieldSchema)
exist := false
for _, param := range field.TypeParams {
if param.Key != maxVarCharLengthKey {
return fmt.Errorf("type param key(max_length) should be specified for varChar field, not %s", param.Key)
continue
}

maxLengthPerRow, err := strconv.ParseInt(param.Value, 10, 64)
Expand Down

0 comments on commit 4b916f2

Please sign in to comment.