-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve parser and schemadiff support for ALTER TABLE (#10313)
* Improve parser and schemadiff support for ALTER TABLE The parser logic for ALTER TABLE was not allowing for the INSTANT algorithm. This doesn't implement anything for instant DDL, but it specifically only allows parsing it. Additionally, the new VISIBLE / INVISIBLE property on columns can be set using an `ALTER TABLE ALTER COLUMN`, so this is also added to the parser as well. Lastly, this makes schemadiff work with such an ALTER TABLE statement. It doesn't generate these itself at this point, but implementing support for handling it is simple to add so this was done as well. Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com> * Add support for ALTER TABLE ALTER INDEX as well Signed-off-by: Dirkjan Bussink <d.bussink@gmail.com>
- Loading branch information
Showing
16 changed files
with
7,847 additions
and
7,357 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.