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
23.11+ Grouping is not finalized when a Map element that does not exist in a Map #59402
Comments
I met same problem... |
The report sounded suspicious and made me check under MSAN:
|
May be related: #55957. |
Reverting #55957 does fix the issue. I'm having a look at the code, but seeing that it was supposed to improve performance and the perf tests show a degradation guides me towards straight revert. cc @lgbo-ustc |
Fix is relatively simple, but I don't quite like the resulting code. I'm verifying if the performance change is worth the hassle it caused. |
I am extracting a value from a Map column and grouping by that value.
If corresponding value does not exist in the Map (the empty value is returned) I find several rows for this empty value in the result.
Broken in 23.11
23.11 https://fiddle.clickhouse.com/43f333fe-7d2b-4e0c-bc2d-09304048a71b
head https://fiddle.clickhouse.com/a05a016a-c182-468b-a35e-13fec358b547
How to reproduce
The text was updated successfully, but these errors were encountered: