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

[fix](statistics)Fix drop stats fail silently bug. (#28635) #28763

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

Jibing-Li
Copy link
Contributor

Drop stats use IN predicate to filter the column stats to delete. The default length of IN predicate is 1024, drop table stats with more than 1024 columns may fail. This pr is to split the delete sql based on the IN predicate length.

backport #28635

Proposed changes

Issue Number: close #xxx

Further comments

If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...

Drop stats use IN predicate to filter the column stats to delete. The default length of IN predicate is 1024, drop table stats with more than 1024 columns may fail.
This pr is to split the delete sql based on the IN predicate length.
@Jibing-Li Jibing-Li marked this pull request as ready for review December 21, 2023 02:35
@Jibing-Li
Copy link
Contributor Author

run buildall

@xiaokang xiaokang merged commit 3c3e9ea into apache:branch-2.0 Dec 22, 2023
15 of 16 checks passed
@Jibing-Li Jibing-Li deleted the in2.0 branch December 22, 2023 09:18
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.

2 participants