-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Feature] Support InPredicate in delete statement #4006
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
28085ae
support in predicate in delete
2b73213
support in predicate in delete stmt
caiconghui e1c81a9
Support in and not in predicate in be delete handler
caiconghui 4cfbde5
Support delete with in predicate
dd90e85
remove some unused function and log
1d98a7f
Add max_allowed_in_element_num_of_delete variable
e8739b6
Add doc content for max_allowed_in_element_num_of_delete variable
a7387ab
Improve performance of in predicate
ad93769
Fix bug for in predicate
caiconghui b9a1e0d
support fast delete filter with in predicate
caiconghui 8773704
fix
caiconghui 27108af
fix deletehandler unit test
caiconghui 7227371
add unit test for delete_handler
caiconghui e049558
fix by review
caiconghui cafcb41
remove unused content from docs
caiconghui 1e7e2a9
fix in predicate str error
4d1c423
fix by review
caiconghui ad3dc45
Add doc content about delete
caiconghui 7fc8ae4
small fix
caiconghui 2777547
fix unit test failed
caiconghui 1858a94
Change all required to optional for InPredicatePB
d090f67
fix be ut failed
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's better to check the
condition.condition_opto see if this condition is InPredicate, not by the size ofcondition.condition_values.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because inPredicate with one element to stored as BinaryPredicate which is more more light and efficient.