Skip to content

Fix crash in min(multiply(1)) with optimize_arithmetic_operations_in_aggregate_functions#11756

Merged
4ertus2 merged 2 commits intoClickHouse:masterfrom
kamalov-ruslan:seg_fault_fix
Jun 18, 2020
Merged

Fix crash in min(multiply(1)) with optimize_arithmetic_operations_in_aggregate_functions#11756
4ertus2 merged 2 commits intoClickHouse:masterfrom
kamalov-ruslan:seg_fault_fix

Conversation

@kamalov-ruslan
Copy link
Copy Markdown
Contributor

@kamalov-ruslan kamalov-ruslan commented Jun 18, 2020

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Bug Fix

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fixes crash in special generated queries when optimize_arithmetic_operations_in_aggregate_functions = 1.

Detailed description / Documentation draft:
requests of the following form: SELECT min(multiply(1)), SELECT max(multiply(1)), etc.

Closes #11741

@blinkov blinkov added the pr-bugfix Pull request with bugfix, not backported by default label Jun 18, 2020
@4ertus2 4ertus2 changed the title fixes requested changes Fix crash in min(multiply(1)) with optimize_arithmetic_operations_in_aggregate_functions Jun 18, 2020
@4ertus2 4ertus2 self-assigned this Jun 18, 2020
@4ertus2 4ertus2 merged commit f44dbcd into ClickHouse:master Jun 18, 2020
alexey-milovidov added a commit that referenced this pull request Jun 20, 2020
alexey-milovidov added a commit that referenced this pull request Jun 20, 2020
traceon added a commit to traceon/ClickHouse that referenced this pull request Jun 20, 2020
* master: (114 commits)
  Update alter.md (ClickHouse#11823)
  Update PODArray.h
  Added a test for ClickHouse#6549
  Update create.md
  Update create.md
  replacingmergetree translate into "替换合并树“ better (ClickHouse#11814)
  Whitespace
  Fix style
  Added a test
  Fix another 10% of bad code ClickHouse#11529
  Update join.md (ClickHouse#11798)
  Update memory.md (ClickHouse#11800)
  Whitespace
  Check for tests with "fail" in their names
  Fix 10% of bad code ClickHouse#11756
  Update PODArray.h
  avoid duplicate short system name
  adapt recent result as well
  [website] tune benchmark pages styling + add extra checks
  Added MSan suppression for Hyperscan
  ...

# Conflicts:
#	src/Common/ErrorCodes.cpp
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.

Received signal Segmentation fault (11)

6 participants