Skip to content

Commit 0e8371e

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 b85144d commit 0e8371e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pymilvus/orm/types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ def infer_dtype_bydata(data: Any):
123123
d_type = dtype_str_map.get(type_str, DataType.UNKNOWN)
124124
return DataType.FLOAT_VECTOR if is_numeric_datatype(d_type) else DataType.ARRAY
125125

126+
126127
if d_type == DataType.UNKNOWN:
127128
try:
128129
elem = data[0]

0 commit comments

Comments
 (0)