You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Xiao Meng (JIRA)" <ji...@apache.org> on 2014/12/09 23:17:12 UTC

[jira] [Created] (DRILL-1833) Views does not show up in the INFROMATION_SCHEMA.`TABLES` after

Xiao Meng created DRILL-1833:
--------------------------------

             Summary: Views does not show up in the INFROMATION_SCHEMA.`TABLES` after 
                 Key: DRILL-1833
                 URL: https://issues.apache.org/jira/browse/DRILL-1833
             Project: Apache Drill
          Issue Type: Bug
         Environment: git.commit.id.abbrev=2396670
            Reporter: Xiao Meng


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