Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.1.0
-
None
-
None
Description
DROP TABLE should raise error if there are any dependent referential constraints unless user specifies CASCADE CONSTRAINTS
Syntax :
DROP TABLE <name> [CASCADE CONSTRAINTS]
Hive drops the referential constraints automatically. Oracle requires user specify CASCADE CONSTRAINTS clause to automatically drop the referential constraints, otherwise raises the error. Should we stick to the Hive behavior ?
Attachments
Issue Links
- is blocked by
-
SPARK-21784 Add ALTER TABLE ADD CONSTRANT DDL to support defining primary key and foreign keys
- In Progress