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 union all supertype column #5503

Merged
merged 3 commits into from Jun 2, 2019
Merged

Conversation

4ertus2
Copy link
Contributor

@4ertus2 4ertus2 commented May 31, 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 mix UNION ALL result column type. There were cases with inconsistent data and column types of resulting columns.

Detailed description (optional):
UNION ALL calculates resulting column's type as supertype of unioned columns. There was an error that we do not make correct supertyped column for result in some cases. It leads to crashes in later operations on such the mixed columns, ex. in JOINS.

@alexey-milovidov alexey-milovidov merged commit 086572b into ClickHouse:master Jun 2, 2019
@alesapin alesapin added pr-bugfix Pull request with bugfix, not backported by default v19.7 labels Jun 6, 2019
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

3 participants