Skip to content

Fix recursive column defaults#14845

Merged
alesapin merged 3 commits intomasterfrom
fix_alias_array
Sep 17, 2020
Merged

Fix recursive column defaults#14845
alesapin merged 3 commits intomasterfrom
fix_alias_array

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):
Fix rare error in SELECT queries when the queried column has DEFAULT expression which depends on the other column which also has DEFAULT and not present in select query and not exists on disk. Partially fixes #14531.

@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Sep 15, 2020
@alexey-milovidov
Copy link
Copy Markdown
Member

test_materialize_mysql_database

Most likely already fixed by @zhang2014

@alexey-milovidov alexey-milovidov self-assigned this Sep 16, 2020
Copy link
Copy Markdown
Member

@alexey-milovidov alexey-milovidov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

@alesapin
Copy link
Copy Markdown
Member Author

Performance not affected

@alesapin alesapin merged commit 73544a3 into master Sep 17, 2020
@alesapin alesapin deleted the fix_alias_array branch September 17, 2020 07:02
alesapin added a commit that referenced this pull request Sep 17, 2020
Fix recursive column defaults

(cherry picked from commit 73544a3)
alesapin added a commit that referenced this pull request Sep 17, 2020
Fix recursive column defaults

(cherry picked from commit 73544a3)
alesapin added a commit that referenced this pull request Sep 17, 2020
Fix recursive column defaults

(cherry picked from commit 73544a3)
alesapin added a commit that referenced this pull request Sep 17, 2020
Fix recursive column defaults

(cherry picked from commit 73544a3)
alesapin added a commit that referenced this pull request Sep 17, 2020
Fix recursive column defaults

(cherry picked from commit 73544a3)
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.

'Missing columns' when column DEFAULT value refers to ALIAS columns

3 participants