Skip to content

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

Open
yujun777 wants to merge 1 commit into
apache:branch-4.0from
yujun777:fix-DORIS-25010-partition-row-count-4.0
Open

branch-4.0: [fix](regression) Wait row count before partition stats check#63760
yujun777 wants to merge 1 commit into
apache:branch-4.0from
yujun777:fix-DORIS-25010-partition-row-count-4.0

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

@yujun777
Copy link
Copy Markdown
Contributor Author

run buildall

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants