Skip to content

Commit 48e77cd

Browse files
committed
Update Errorf format string.
1 parent 4899c60 commit 48e77cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/core.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ func convertJsonInterfaceToVector(val interface{}) ([]float32, error) {
386386
res[i] = v
387387
case float64:
388388
if v > math.MaxFloat32 || v < -math.MaxFloat32 {
389-
return nil, fmt.Errorf("data cannot be converted to a valid vector: %d", v)
389+
return nil, fmt.Errorf("data cannot be converted to a valid vector: %v", v)
390390
}
391391
res[i] = float32(v)
392392
case int64:

0 commit comments

Comments
 (0)