Skip to content

Fix alter default validation#15858

Merged
nikitamikhaylov merged 1 commit intomasterfrom
fix_alter_default_validation
Oct 13, 2020
Merged

Fix alter default validation#15858
nikitamikhaylov merged 1 commit intomasterfrom
fix_alter_default_validation

Conversation

@alesapin
Copy link
Copy Markdown
Member

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):
Now exception will be thrown when ALTER MODIFY COLUMN ... DEFAULT ... has incompatible default with column type. Fixes #15854.

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Oct 12, 2020
@nikitamikhaylov nikitamikhaylov self-assigned this Oct 12, 2020
@nikitamikhaylov nikitamikhaylov merged commit 835c480 into master Oct 13, 2020
@nikitamikhaylov nikitamikhaylov deleted the fix_alter_default_validation branch October 13, 2020 09:47
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.

Clickhouse does not validate DEFAULT value on MODIFY COLUMN for type compability

3 participants