-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[bug](distinct-agg) fix distinct-agg outblock columns size not equal key size #22357
Conversation
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
(From new machine)TeamCity pipeline, clickbench performance test result: |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
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
…key size (#22357) * [imporve](flex) support scientific notation(aEb) parser * update * [bug](distinct-agg) fix distinct-agg outblock columns size not equal key size
…key size (apache#22357) * [imporve](flex) support scientific notation(aEb) parser * update * [bug](distinct-agg) fix distinct-agg outblock columns size not equal key size
Proposed changes
this agg used by get distinct rows, the group by key is customer_sk and item_sk. and have a projections: customer_sk.
so the output block after call clear_column_data with num_materialized_slots will be remove item_sk column,
But the block will be push back to data_queue to reuse, those will cause the block column not equal.
| 6:VAGGREGATE (merge finalize)
| | group by: customer_sk[#58], item_sk[#59]
| | cardinality=35,999,628
| | projections: customer_sk[#60]
| | project output tuple id: 7
| 4:VAGGREGATE (update serialize)
| | STREAMING
| | group by: customer_sk[#56], item_sk[#57]
| | cardinality=71,999,256
Issue Number: close #xxx
Further comments
If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...