Skip to content

Commit b85144d

Browse files
author
Rohit Gupta
committed
return array data type in infer_dtype_bydata
Signed-off-by: Rohit Gupta <rohit.gupta2@walmart.com>
1 parent f7a4839 commit b85144d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymilvus/orm/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def infer_dtype_bydata(data: Any):
121121
failed = True
122122
if not failed:
123123
d_type = dtype_str_map.get(type_str, DataType.UNKNOWN)
124-
return DataType.FLOAT_VECTOR if is_numeric_datatype(d_type) else DataType.UNKNOWN
124+
return DataType.FLOAT_VECTOR if is_numeric_datatype(d_type) else DataType.ARRAY
125125

126126
if d_type == DataType.UNKNOWN:
127127
try:

0 commit comments

Comments
 (0)