Skip to content

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
@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