Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.2
Description
DROP TABLE IF EXISTS TABLENAME command deletes the view that has the same name.So the views are lost.
TEST CASE -
1)Create a view TEST
2)Drop table TEST
This throws an error "Drop table not allowed on a view"
3)Drop table if exists TEST
This command deletes the view TEST