Files
impala/testdata/workloads/functional-query/queries/QueryTest/views-ddl.test
Bharath Vissapragada 978d837758 IMPALA-3139: Fix drop table statement to not drop views and vice versa
This commit fixes the following two issues

- A drop table statement can drop a view with same name when "IF EXISTS" is specified.
- A drop view statement can drop a table with same name when "IF EXISTS" is specified.

This happens due to lack of checks in the Catalog before the drop executes.

Change-Id: I0d35cd1f50d9b8d50223660f753c56529cbbc311
Reviewed-on: http://gerrit.cloudera.org:8080/2458
Reviewed-by: Bharath Vissapragada <bharathv@cloudera.com>
Tested-by: Internal Jenkins
2016-03-15 12:10:33 +00:00

7.7 KiB