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

[cherry-pick](branch-2.0) Pick "[Fix](delete) Fix some delete p2 case (#37689) (#41678)" #41758

Merged
merged 3 commits into from
Oct 14, 2024

Conversation

Yukang-Lian
Copy link
Collaborator

Proposed changes

Pick #37689 #41678

…7689)

In apache#35917 and apache#37151, we changed MOW table default delete command from
delete predicate to delete sign. It makes sure the correctness during
partial update but leads to slowdowns. Actually, if there is no partial
update, delete predicate will not lead to data fault. Delete data by
delete predicate or delete sign can be controlled by a table property
"enable_light_delete". If "enable_light_delete=true", we execute delete
command by delete predicate. Otherwise, we execute delete command by
delete sign.

In p2 cases, there are lots of cases with large data need to delete and
do not perform partial column update operations. Therefore, in order to
make it faster, we change some cases default create table clause.
@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@Yukang-Lian
Copy link
Collaborator Author

run buildall

@dataroaring dataroaring changed the title [cherry-pick](branch-2.0) Pick "[Fix](delete) Fix some delete p2 case #41678" [cherry-pick](branch-2.0) Pick "[Fix](delete) Fix some delete p2 case (#37689) (#41678)" Oct 12, 2024
@Yukang-Lian
Copy link
Collaborator Author

run buildall

@dataroaring dataroaring merged commit 50e0dcd into apache:branch-2.0 Oct 14, 2024
21 of 23 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