-
Notifications
You must be signed in to change notification settings - Fork 3.7k
branch-3.0: [improvement](statistics)Eliminate null values while sample analyzing ndv. #50574 #51575
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
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
dataroaring
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
… ndv. (#50574) 1. Eliminate null values while sample analyzing ndv. For example, if the values of col1 in table1 are all NULL, the ndv of col1 should be 0, not 1. 2. If ndv=0 and min/max not null and null_num == rowCount, we keep this stats info but set to unknown in stats calculator. This is probably because sampled an all-null tablet.
f93b9be to
07e0458
Compare
|
run buildall |
TPC-H: Total hot run time: 39554 ms |
TPC-DS: Total hot run time: 195778 ms |
ClickBench: Total hot run time: 29.99 s |
dataroaring
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Cherry-picked from #50574