We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4899c60 commit 48e77cdCopy full SHA for 48e77cd
sql/core.go
@@ -386,7 +386,7 @@ func convertJsonInterfaceToVector(val interface{}) ([]float32, error) {
386
res[i] = v
387
case float64:
388
if v > math.MaxFloat32 || v < -math.MaxFloat32 {
389
- return nil, fmt.Errorf("data cannot be converted to a valid vector: %d", v)
+ return nil, fmt.Errorf("data cannot be converted to a valid vector: %v", v)
390
}
391
res[i] = float32(v)
392
case int64:
0 commit comments