You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Venki Korukanti (JIRA)" <ji...@apache.org> on 2015/04/02 19:38:52 UTC

[jira] [Resolved] (DRILL-1833) Views cannot be registered into the INFORMATION_SCHEMA.`TABLES` after wiping out ZooKeeper data

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

Venki Korukanti resolved DRILL-1833.
------------------------------------
    Resolution: Fixed

Fixed in [0b6cddf|https://github.com/apache/drill/commit/0b6cddfa4d8f9558f6386e7340429df4e8ec5f88].

Addressed the remaining review comment about changing the log message to be specific.

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