We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
描述 在Milvus SDK v2.4.x (Java)中,当表达式针对id进行筛选时,无论数据有没有被真实删除,都返回被删除条数为1。例如:试图删除id为1111的数据,但该数据在milvus数据库中不存在,删除操作也返回了被删除条数为1.
重现步骤
ConnectParam.Builder builder = ConnectParam.newBuilder() .withHost("xx.xxx.xx.xx") .withPort(19530); MilvusClient milvusClient = new MilvusServiceClient(builder.build()); DeleteParam deleteRequest = DeleteParam.newBuilder() .withCollectionName("test") .withExpr("id == 1") .build(); R<MutationResult> result = milvusClient.delete(deleteRequest); System.out.println("Deleted rows: " + result.getData().getDeleteCnt());
此处的id为任意数据库中不存在的值,执行后观察到返回的删除条数为1。
期待回复!
The text was updated successfully, but these errors were encountered:
目前后台的逻辑是分两种情况处理的:
Sorry, something went wrong.
No branches or pull requests
描述
在Milvus SDK v2.4.x (Java)中,当表达式针对id进行筛选时,无论数据有没有被真实删除,都返回被删除条数为1。例如:试图删除id为1111的数据,但该数据在milvus数据库中不存在,删除操作也返回了被删除条数为1.
重现步骤
此处的id为任意数据库中不存在的值,执行后观察到返回的删除条数为1。
期待回复!
The text was updated successfully, but these errors were encountered: