diff --git a/pymilvus/orm/types.py b/pymilvus/orm/types.py index eebbb50bc..af9d9e7c8 100644 --- a/pymilvus/orm/types.py +++ b/pymilvus/orm/types.py @@ -121,7 +121,7 @@ def infer_dtype_bydata(data: Any): failed = True if not failed: d_type = dtype_str_map.get(type_str, DataType.UNKNOWN) - return DataType.FLOAT_VECTOR if is_numeric_datatype(d_type) else DataType.UNKNOWN + return DataType.FLOAT_VECTOR if is_numeric_datatype(d_type) else DataType.ARRAY if d_type == DataType.UNKNOWN: try: