-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change how `CREATE TABLE` statements like: ```sql CREATE TABLE foo(a int DEFAULT NULL) ``` are converted to `OpCreateTable` operations. When a column has a default value of `NULL`, the `default` field in the resulting `Column` object should be omitted, rather than set to `"NULL"`. This makes conversion of `CREATE TABLE` statements consistent with conversion of `ALTER TABLE ADD COLUMN` statements.
- Loading branch information
1 parent
9fedb2c
commit 1038bc2
Showing
3 changed files
with
20 additions
and
2 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