Comments (2)
/assign @czs007
from pymilvus.
Verified and fixed.
pymilvus: 2.4.0rc30
milvus: master-20240205-a68b3213
result:
>>> milvus_client.delete(collection_name)
RPC error: [delete], <ParamError: (code=1, message=filter or ids cannot be empty)>, <Time:{'RPC start': '2024-02-05 15:15:30.704760', 'RPC error': '2024-02-05 15:15:30.704865'}>
Failed to delete primary keys in collection: hello_milvus
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/binbin/milvus_latest/lib/python3.8/site-packages/pymilvus/milvus_client/milvus_client.py", line 558, in delete
raise ex from ex
File "/Users/binbin/milvus_latest/lib/python3.8/site-packages/pymilvus/milvus_client/milvus_client.py", line 546, in delete
res = conn.delete(
File "/Users/binbin/milvus_latest/lib/python3.8/site-packages/pymilvus/decorators.py", line 135, in handler
raise e from e
File "/Users/binbin/milvus_latest/lib/python3.8/site-packages/pymilvus/decorators.py", line 131, in handler
return func(*args, **kwargs)
File "/Users/binbin/milvus_latest/lib/python3.8/site-packages/pymilvus/decorators.py", line 170, in handler
return func(self, *args, **kwargs)
File "/Users/binbin/milvus_latest/lib/python3.8/site-packages/pymilvus/decorators.py", line 110, in handler
raise e from e
File "/Users/binbin/milvus_latest/lib/python3.8/site-packages/pymilvus/decorators.py", line 74, in handler
return func(*args, **kwargs)
File "/Users/binbin/milvus_latest/lib/python3.8/site-packages/pymilvus/client/grpc_handler.py", line 606, in delete
raise err from err
File "/Users/binbin/milvus_latest/lib/python3.8/site-packages/pymilvus/client/grpc_handler.py", line 584, in delete
req = Prepare.delete_request(
File "/Users/binbin/milvus_latest/lib/python3.8/site-packages/pymilvus/client/prepare.py", line 565, in delete_request
check_str(expr, param_name)
File "/Users/binbin/milvus_latest/lib/python3.8/site-packages/pymilvus/client/prepare.py", line 559, in check_str
raise ParamError(message=f"{prefix} cannot be empty")
pymilvus.exceptions.ParamError: <ParamError: (code=1, message=filter or ids cannot be empty)>
from pymilvus.
Related Issues (20)
- [FEATURE]: Add compression support for grpc HOT 1
- [Bug]: [milvus_client][milvus] The "delete_count" is not accurate when delete the non-existed or deleted id HOT 1
- [Bug]: [milvus_client][milvus] The error is not consistent with other API when collection name is not valid for list_aliases HOT 2
- [Bug]: [milvus_client][milvus] The error is not consistent with other API when collection name is not valid for describe_alias HOT 2
- [Bug]: [milvus_client] The state is not proper when get the load state of the non-exist partition HOT 2
- [Bug]: [milvus_client][as design] Create "AUTOINDEX" failed on scalar field failed with error message "index type not match: invalid parameter[expected=STL_SORT][actual=AUTOINDEX]"" HOT 3
- [QUESTION]: Import has failed when using BulkWriter() API. HOT 1
- Getting exception when trying to delete entity in Milvis vector database using pymilvus HOT 2
- [Bug]: [Milvus 2.3.7-GPU] Fail to Query HOT 1
- [Bug]: Failed to get file size for bulk insert API HOT 4
- [Bug]: [mmap] Enable mmap for index through alter_index and report an error HOT 5
- [Bug]: [milvus_client] The result is empty for describe_role HOT 4
- [Bug]: Enhance sdk's side params for groupby
- [Bug]: [milvus_client] Create a collection will take about 3 seconds on average HOT 1
- [Bug]: Too much retry for unimplemented error HOT 3
- [Bug]: operations missing param check
- [Bug]: MilvusException: <MilvusException: (code=2, message=Fail connecting to server on localhost:19530. Timeout)> HOT 2
- [Bug]: [milvus_client] "partition_key_field" does not take effect for self defined collection creation HOT 3
- [Bug]: [milvus_client] Failed to enable dynamic field for an existing non-dynamic field when not specifying it in the scheme before HOT 4
- [QUESTION]: conection ERROR HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymilvus.