Skip to content
New issue

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

Add filter parameter to delete #1779

Merged
merged 1 commit into from
Nov 10, 2023
Merged

Conversation

czs007
Copy link
Contributor

@czs007 czs007 commented Nov 10, 2023

Commencing from Milvus 2.3.3, an enhanced functionality has been introduced to facilitate data deletion based on expressive criteria. In this context, the inclusion of the "filter" parameter serves as an entry point for accessing this feature.

All rows that conform to the specified filter expression will be eliminated.

Moreover, in cases where users specify both a list of primary keys to be deleted and provide a filter expression, the deletion operation will encompass the union of these two conditions, resulting in the removal of rows that satisfy either criterion.

Commencing from Milvus 2.3.3, an enhanced functionality has been introduced to
facilitate data deletion based on expressive criteria.
In this context, the inclusion of the "filter" parameter serves as an entry point
for accessing this feature.

All rows that conform to the specified filter expression will be eliminated.

The deletion condition should either be a list of primary keys to be deleted
or a filter expression.
If both are specified or if none are specified, an exception will be thrown.

Signed-off-by: zhenshan.cao <[email protected]>
@XuanYang-cn
Copy link
Contributor

/lgtm
/approve

@sre-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: czs007, XuanYang-cn

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot sre-ci-robot merged commit 1428201 into milvus-io:master Nov 10, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants