You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/milvus_client/milvus_client.py", line 219, in insert
res = conn.insert_rows(
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/decorators.py", line 147, in handler
raise e from e
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/decorators.py", line 143, in handler
return func(*args, **kwargs)
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/decorators.py", line 182, in handler
return func(self, *args, **kwargs)
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/decorators.py", line 122, in handler
raise e from e
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/decorators.py", line 87, in handler
return func(*args, **kwargs)
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/client/grpc_handler.py", line 492, in insert_rows
request = self._prepare_row_insert_request(
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/client/grpc_handler.py", line 518, in _prepare_row_insert_request
return Prepare.row_insert_param(
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/client/prepare.py", line 437, in row_insert_param
return cls._parse_row_request(request, fields_info, enable_dynamic, entities)
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/client/prepare.py", line 387, in _parse_row_request
entity_helper.pack_field_value_to_field_data(v, field_data, field_info)
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/client/entity_helper.py", line 322, in pack_field_value_to_field_data
field_data.scalars.array_data.data.append(convert_to_array(field_value, field_info))
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/client/entity_helper.py", line 232, in convert_to_array
raise ParamError(
pymilvus.exceptions.ParamError: <ParamError: (code=1, message=UnSupported element type: None for Array field: color_coord)>
Suggestion
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Issue
I am trying to use Array as the type of the field following the https://milvus.io/docs/array_data_type.md. But the code throw the paramerror after run.
Here is the trace.
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/milvus_client/milvus_client.py", line 219, in insert
res = conn.insert_rows(
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/decorators.py", line 147, in handler
raise e from e
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/decorators.py", line 143, in handler
return func(*args, **kwargs)
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/decorators.py", line 182, in handler
return func(self, *args, **kwargs)
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/decorators.py", line 122, in handler
raise e from e
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/decorators.py", line 87, in handler
return func(*args, **kwargs)
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/client/grpc_handler.py", line 492, in insert_rows
request = self._prepare_row_insert_request(
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/client/grpc_handler.py", line 518, in _prepare_row_insert_request
return Prepare.row_insert_param(
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/client/prepare.py", line 437, in row_insert_param
return cls._parse_row_request(request, fields_info, enable_dynamic, entities)
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/client/prepare.py", line 387, in _parse_row_request
entity_helper.pack_field_value_to_field_data(v, field_data, field_info)
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/client/entity_helper.py", line 322, in pack_field_value_to_field_data
field_data.scalars.array_data.data.append(convert_to_array(field_value, field_info))
File "/home/lab/.local/lib/python3.10/site-packages/pymilvus/client/entity_helper.py", line 232, in convert_to_array
raise ParamError(
pymilvus.exceptions.ParamError: <ParamError: (code=1, message=UnSupported element type: None for Array field: color_coord)>
Suggestion
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: