Fix typo in util.go (#27975)

suppot -> support

Signed-off-by: Ikko Eltociear Ashimine <eltociear@gmail.com>
This commit is contained in:
Ikko Eltociear Ashimine 2023-10-30 15:40:27 +09:00 committed by GitHub
parent 7e0bda8b4c
commit ed4f20b0ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1017,7 +1017,7 @@ func translateOutputFields(outputFields []string, schema *schemapb.CollectionSch
expr.GetColumnExpr().GetInfo().GetNestedPath()[0] == outputFieldName { expr.GetColumnExpr().GetInfo().GetNestedPath()[0] == outputFieldName {
return nil return nil
} }
return fmt.Errorf("not suppot getting subkeys of json field yet") return fmt.Errorf("not support getting subkeys of json field yet")
}) })
if err != nil { if err != nil {
log.Info("parse output field name failed", zap.String("field name", outputFieldName)) log.Info("parse output field name failed", zap.String("field name", outputFieldName))