[ 
https://issues.apache.org/jira/browse/DRILL-1833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Krystal closed DRILL-1833.
--------------------------

git.commit.id.abbrev=d12bee0

Verified that after removing the drill znode from zookeeper, the views are 
still accessible and are returned from "show tables".

> Views cannot be registered into the INFORMATION_SCHEMA.`TABLES` after wiping 
> out ZooKeeper data
> -----------------------------------------------------------------------------------------------
>
>                 Key: DRILL-1833
>                 URL: https://issues.apache.org/jira/browse/DRILL-1833
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Storage - Information Schema
>         Environment: git.commit.id.abbrev=2396670
>            Reporter: Xiao Meng
>            Assignee: Venki Korukanti
>              Labels: no_verified_test
>             Fix For: 0.9.0
>
>         Attachments: DRILL-1833-1.patch
>
>
> 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:
> {code}
> select * from dfs.test.`varchar_view`
> {code}
>  
> 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`.



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

Reply via email to