Abhishek Girish created DRILL-2423:
--------------------------------------

             Summary: DROP VIEW against non-existent views fails with ZK error
                 Key: DRILL-2423
                 URL: https://issues.apache.org/jira/browse/DRILL-2423
             Project: Apache Drill
          Issue Type: Bug
          Components: Metadata
    Affects Versions: 0.8.0
            Reporter: Abhishek Girish
            Assignee: Steven Phillips
            Priority: Minor


If a DROP VIEW command is issued against a non-existent view, it fails with an 
error indicating issue with ZK connection:
{code:sql}
> drop view customer_address ;
+------------+------------+
|     ok     |  summary   |
+------------+------------+
| false      | Error: Failure while accessing Zookeeper. KeeperErrorCode = 
NoNode for /drill/storage.views.dfs.tpcds_text_sf1/customer_address |
+------------+------------+
1 row selected (0.058 seconds)
{code}

The error message must clearly indicate that the view does not exist. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to