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

Views cannot be registered into the INFORMATION_SCHEMA.`TABLES` after wiping out ZooKeeper data

    XMLWordPrintableJSON

Details

    Description

      After wiping out the ZooKeeper data, the drillbit cannot automatically register the view into INFORMATION_SCHEMA.`TABLES` even after we query the view.

      For example, for a workspace dfs.tmp, there is a view file `varchar_view.view.drill` under the corresponding directory '/tmp'.
      We can query:

      select * from dfs.test.`varchar_view`
      

      But this view still won't show up in INFORMATION_SCHEMA.`TABLES`.
      After I recreate the view based on the contents of `varchar_view.view.drill`, the view shows in the INFORMATION_SCHEMA.`TABLES`.

      Attachments

        1. DRILL-1833-1.patch
          12 kB
          Venki Korukanti

        Issue Links

          Activity

            People

              vkorukanti Venki Korukanti
              xiaom Xiaomeng Huang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: