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 session system var delete_opt_to_truncate #20950

Merged
merged 2 commits into from
Dec 27, 2024

Conversation

huby2358
Copy link
Contributor

@huby2358 huby2358 commented Dec 26, 2024

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue # #20864

What this PR does / why we need it:

cherry-pick
增加session级别配置项delete_opt_to_truncate控制是否要对delete from table; 优化成truncate, 默认为true, 即优化成trucate, 通过set session delete_opt_to_truncate = 0;关闭该优化

@matrix-meow matrix-meow added the size/M Denotes a PR that changes [100,499] lines label Dec 26, 2024
@mergify mergify bot requested a review from sukki37 December 26, 2024 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working size/M Denotes a PR that changes [100,499] lines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants