You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Rahul Challapalli (JIRA)" <ji...@apache.org> on 2014/06/23 18:41:24 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14040941#comment-14040941 ] 

Rahul Challapalli commented on DRILL-751:
-----------------------------------------

Looks good now. Thanks for the fix.

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