Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2423

DROP VIEW against non-existent views fails with ZK error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.8.0
    • 1.0.0
    • Metadata
    • None

    Description

      If a DROP VIEW command is issued against a non-existent view, it fails with an error indicating issue with ZK connection:

      > 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)
      

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

      Attachments

        1. DRILL-2423-1.patch
          5 kB
          Venki Korukanti

        Activity

          People

            vkorukanti Venki Korukanti
            agirish Abhishek Girish
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: