Skip to content

branch-4.1: [fix](regression) Wait row count before partition stats check#63759

Merged
yiguolei merged 1 commit into
apache:branch-4.1from
yujun777:fix-DORIS-25010-partition-row-count
May 28, 2026
Merged

branch-4.1: [fix](regression) Wait row count before partition stats check#63759
yiguolei merged 1 commit into
apache:branch-4.1from
yujun777:fix-DORIS-25010-partition-row-count

Conversation

@yujun777
Copy link
Copy Markdown
Contributor

What problem does this PR solve?

The partition row count regression asserts selected partition stats from BE-reported row counts. In Cloud, this row count can be stale immediately after insert, so wait until SHOW DATA reports the expected table row count before analyze and explain.

Check List

  • Test: git diff --check
  • Behavior changed: No
  • Does this need documentation: No

The partition row count regression asserts selected partition stats from BE-reported row counts. In Cloud, this row count can be stale immediately after insert, so wait until SHOW DATA reports the expected table row count before analyze and explain.

Key changes:

- Wait for partitionRowCountTable row count to reach 6 before analyze.

- Keep the original stats=4 assertion to preserve the case intent.

Unit Test:

- git diff --check
@yujun777
Copy link
Copy Markdown
Contributor Author

run buildall

@hello-stephen
Copy link
Copy Markdown
Contributor

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

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@github-actions github-actions Bot added the approved Indicates a PR has been approved by one committer. label May 28, 2026
@github-actions
Copy link
Copy Markdown
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Copy Markdown
Contributor

PR approved by anyone and no changes requested.

@yiguolei yiguolei merged commit d993f75 into apache:branch-4.1 May 28, 2026
28 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/4.1.2-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants