Skip to content

Commit

Permalink
return array data type in infer_dtype_bydata
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohit Gupta committed Jun 20, 2024
1 parent f7a4839 commit 0ad77c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymilvus/orm/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0ad77c5

Please sign in to comment.