-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent use of CREATE TABLE...LIKE and CREATE TABLE...SELECT
These forms of CREATE TABLE do not currently work properly in Skeema, so this commit now treats them as unparsable statements: * Both forms introduce potential ordering constraints, since these statements refer to other tables, which may or may not be in the same schema. Skeema does not currently track dependencies between tables (even in the case of foreign keys, since FOREIGN_KEY_CHECKS=0 avoids the need). * CREATE TABLE...SELECT inherently mixes DDL with DML, and Skeema does not generally support DML yet. Presence of rows in a workspace table prevent the workspace from being cleaned up, causing a breakage that must be cleaned manually.
- Loading branch information
Showing
2 changed files
with
42 additions
and
9 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