Skip to content
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

Fix crash on CAST exotic types to Decimal #6297

Merged
merged 1 commit into from
Aug 2, 2019

Conversation

4ertus2
Copy link
Contributor

@4ertus2 4ertus2 commented Aug 2, 2019

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

Category (leave one):

  • Bug Fix

Short description (up to few sentences):
Fix crash when casting types to Decimal that do not support it. Throw exception instead.

@4ertus2
Copy link
Contributor Author

4ertus2 commented Aug 2, 2019

Fixes #6116

@alexey-milovidov alexey-milovidov merged commit 12a8bf2 into ClickHouse:master Aug 2, 2019
@alexey-milovidov
Copy link
Member

Don't understand - why is was crashing and whether the root cause was fixed.

@4ertus2 4ertus2 added the pr-bugfix Pull request with bugfix, not backported by default label Sep 6, 2019
abyss7 pushed a commit to abyss7/ClickHouse that referenced this pull request Sep 6, 2019
Fix crash on CAST exotic types to Decimal

(cherry picked from commit 12a8bf2)
@abyss7 abyss7 added the v19.12 label Sep 6, 2019
KochetovNicolai pushed a commit that referenced this pull request Sep 20, 2019
Fix crash on CAST exotic types to Decimal

(cherry picked from commit 12a8bf2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr-bugfix Pull request with bugfix, not backported by default
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants