Skip to content

Commit 655daf4

Browse files
author
Rohit Gupta
committed
add array data type for milvus vector store collection create
Signed-off-by: Rohit Gupta <[email protected]>
1 parent a02b9bc commit 655daf4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pymilvus/orm/types.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,15 @@ def is_float_datatype(data_type: DataType):
7070
def is_numeric_datatype(data_type: DataType):
7171
return is_float_datatype(data_type) or is_integer_datatype(data_type)
7272

73+
7374
def is_varchar_datatype(data_type: DataType):
7475
return data_type in (DataType.VARCHAR,)
7576

77+
7678
def is_bool_datatype(data_type: DataType):
7779
return data_type in (DataType.BOOL,)
7880

81+
7982
# pylint: disable=too-many-return-statements
8083
def infer_dtype_by_scalar_data(data: Any):
8184
if isinstance(data, float):

0 commit comments

Comments
 (0)