Remove CAST from DEFAULT expressions during table creation.#10441
Remove CAST from DEFAULT expressions during table creation.#10441alexey-milovidov merged 2 commits intomasterfrom
Conversation
|
Actually it's an unfinished part of #9227. We already don't add It's a bug fix because if the user added column with default with |
|
If old version created a table with |
Remove CAST from DEFAULT expressions during table creation. (cherry picked from commit 1ecfa27)
in case if the table was created on the old version with the CAST, and adding a replica with a new version will complain: |
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix bug when server cannot attach table after column default was altered.