-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Bug](fix) Fix topn agg limit may get error result in when refresh heap (#47844) #47903
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
…ap (apache#47844) 1. heap refresh should emplace before pop 2. Add UT for the heap 3. refactor the refresh to AggSharedState
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
TPC-H: Total hot run time: 40555 ms |
TPC-DS: Total hot run time: 198570 ms |
ClickBench: Total hot run time: 32.15 s |
| _test_column = int_type->create_column(); | ||
| auto* col_data = reinterpret_cast<vectorized::ColumnVector<int>*>(_test_column.get()); | ||
|
|
||
| // Insert test values: 5, 3, 1, -2, -1, 0 |
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.
nit:
It seems that the following code inserted the vaule 2 not the value -2?
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 pick #47844