Skip to content

Fix TOTALS/ROLLUP/CUBE for aggregate functions with -State and Nullable arguments#12376

Merged
alexey-milovidov merged 4 commits intomasterfrom
fix-totals-state-2
Jul 10, 2020
Merged

Fix TOTALS/ROLLUP/CUBE for aggregate functions with -State and Nullable arguments#12376
alexey-milovidov merged 4 commits intomasterfrom
fix-totals-state-2

Conversation

@alexey-milovidov
Copy link
Member

Changelog category (leave one):

  • Bug Fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix TOTALS/ROLLUP/CUBE for aggregate functions with -State and Nullable arguments. This fixes #12163.

@alexey-milovidov
Copy link
Member Author

This also wrong:

SELECT uniqStateForEach([1, NULL]) WITH TOTALS

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Jul 10, 2020
@alexey-milovidov
Copy link
Member Author

alexey-milovidov commented Jul 10, 2020

I recommend @akuzm @KochetovNicolai @CurtizJ just to take a look - this is a really weird issue in managing of aggregation states.

robot-clickhouse pushed a commit that referenced this pull request Jul 27, 2020
alexey-milovidov added a commit that referenced this pull request Jul 27, 2020
Backport #12376 to 20.5: Fix TOTALS/ROLLUP/CUBE for aggregate functions with -State and Nullable arguments
robot-clickhouse pushed a commit that referenced this pull request Jul 27, 2020
alexey-milovidov added a commit that referenced this pull request Jul 28, 2020
Backport #12376 to 20.3: Fix TOTALS/ROLLUP/CUBE for aggregate functions with -State and Nullable arguments
abyss7 added a commit that referenced this pull request Jul 31, 2020
… functions with -State and Nullable arguments"

This reverts commit 84f8d48.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-docs-needed pr-bugfix Pull request with bugfix, not backported by default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

segfault in DB::QuantileTiming<short>::merge

4 participants