drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Keranen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-3646) Show tables in DFS workspace
Date Thu, 25 Aug 2016 21:10:21 GMT

    [ https://issues.apache.org/jira/browse/DRILL-3646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15437678#comment-15437678
] 

Matt Keranen commented on DRILL-3646:
-------------------------------------

SHOW FILES would be useful with a filter option, but  DRILL-3698 would make this even easier:
https://issues.apache.org/jira/browse/DRILL-3698

> Show tables in DFS workspace
> ----------------------------
>
>                 Key: DRILL-3646
>                 URL: https://issues.apache.org/jira/browse/DRILL-3646
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Metadata, Storage - Information Schema
>    Affects Versions: 1.1.0
>            Reporter: Hari Sekhon
>             Fix For: Future
>
>
> Drill does not show tables in a DFS workspace, even when I just created a parquet table
there using CTAS through Drill itself.
> The output results are blank, a zero row table with blank column header.
> {code}
> 0: jdbc:drill:zk=local> show tables in dfs.hari;
> +--+
> |  |
> +--+
> +--+
> No rows selected (0.137 seconds)
> {code}
> although I can still query the table I just created as long as I know it's there and
query it blindly:
> {code}
> 0: jdbc:drill:zk=local> select count(*) from dfs.hari.auditlogs_parquet_drill;
> +---------+
> | EXPR$0  |
> +---------+
> | 2579    |
> +---------+
> 1 row selected (0.129 seconds)
> {code}
> I can't describe the table so I really do have to query it blindly too (I previously
raised a different jira for parquet describe support DRILL-3525 and other formats DRILL-3524
to DRILL-3529):
> {code}
> 0: jdbc:drill:zk=local> select count(*) from dfs.hari.auditlogs_parquet_drill;
> +---------+
> | EXPR$0  |
> +---------+
> | 2579    |
> +---------+
> 1 row selected (0.129 seconds)
> {code}
> This jira is specifically to address the inability to list tables (or perhaps files/dirs)
in a DFS workspace though.



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

Mime
View raw message