Skip to content

Conversation

@englefly
Copy link
Contributor

@englefly englefly commented Nov 5, 2024

What problem does this PR solve?

estimate selected partition rowcount more accurate.
suppose table T has N partitions, and R rows.
we estimate M partitions row count, where M1 partitions row count is avaliable and sum is R1. M2 partitions row count is not avaliable. (M=M1+M2)

before:
est_row=R * M/N
after:
est_row=R1 + R*M2/N

Issue Number: close #xxx

Related PR: #xxx

Problem Summary:

Check List (For Committer)

  • Test

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No colde files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.
  • Release note

    None

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@doris-robot
Copy link

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

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@englefly
Copy link
Contributor Author

englefly commented Nov 5, 2024

run buildall

1 similar comment
@englefly
Copy link
Contributor Author

englefly commented Nov 6, 2024

run buildall

@englefly
Copy link
Contributor Author

englefly commented Nov 6, 2024

run buildall

@englefly
Copy link
Contributor Author

englefly commented Nov 6, 2024

run p0

@github-actions
Copy link
Contributor

github-actions bot commented Nov 8, 2024

PR approved by anyone and no changes requested.

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Nov 8, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Nov 8, 2024

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

@englefly englefly merged commit e7de4f3 into apache:master Nov 8, 2024
@englefly englefly deleted the part-row-est branch November 30, 2024 04:51
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. reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants