[
https://issues.apache.org/jira/browse/DRILL-2423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Venki Korukanti updated DRILL-2423:
-----------------------------------
Attachment: DRILL-2423-1.patch
Review Board Link: https://reviews.apache.org/r/33840/
> 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: Venki Korukanti
> Priority: Minor
> Fix For: 1.0.0
>
> Attachments: DRILL-2423-1.patch
>
>
> 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)