You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Jacques Nadeau (JIRA)" <ji...@apache.org> on 2014/06/11 17:52:03 UTC

[jira] [Resolved] (DRILL-751) INFORMATION_SCHEMA.TABLES shows the view as a table

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

Jacques Nadeau resolved DRILL-751.
----------------------------------

    Resolution: Fixed

resolved in 0c3bad9

> INFORMATION_SCHEMA.TABLES shows the view as a table
> ---------------------------------------------------
>
>                 Key: DRILL-751
>                 URL: https://issues.apache.org/jira/browse/DRILL-751
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Metadata
>            Reporter: Rahul Challapalli
>            Assignee: Venki Korukanti
>            Priority: Minor
>             Fix For: 1.0.0-BETA1
>
>
> 1. create view v1 as select * from `/drill/testdata/views/dfs/parquet/rankings`;
> 2. select * from INFORMATION_SCHEMA.`TABLES`; (shows the view as table)
> +---------------+--------------+------------+------------+
> | TABLE_CATALOG | TABLE_SCHEMA | TABLE_NAME | TABLE_TYPE |
> +---------------+--------------+------------+------------+
> | DRILL         | hive.test    | t1         | TABLE      |
> | DRILL         | dfs.drillTestDirViews | v1         | TABLE      |
> | DRILL         | sys          | drillbits  | TABLE      |
> | DRILL         | sys          | options    | TABLE      |
> | DRILL         | INFORMATION_SCHEMA | VIEWS      | TABLE      |
> | DRILL         | INFORMATION_SCHEMA | COLUMNS    | TABLE      |
> | DRILL         | INFORMATION_SCHEMA | TABLES     | TABLE      |
> | DRILL         | INFORMATION_SCHEMA | CATALOGS   | TABLE      |
> | DRILL         | INFORMATION_SCHEMA | SCHEMATA   | TABLE      |
> +---------------+--------------+------------+------------+



--
This message was sent by Atlassian JIRA
(v6.2#6252)