You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Abhishek Girish (JIRA)" <ji...@apache.org> on 2015/02/21 01:58:11 UTC

[jira] [Created] (DRILL-2284) Describe table returns no rows for Parquet / JSON / Text

Abhishek Girish created DRILL-2284:
--------------------------------------

             Summary: Describe table returns no rows for Parquet / JSON / Text
                 Key: DRILL-2284
                 URL: https://issues.apache.org/jira/browse/DRILL-2284
             Project: Apache Drill
          Issue Type: Bug
          Components: Metadata
            Reporter: Abhishek Girish
            Assignee: Steven Phillips
            Priority: Minor
             Fix For: 0.8.0


'Describe' table should either support displaying schema information or fail indicating the lack of support for Parquet / JSON / Text 

Currently no rows are returned, which might confuse an end user

*Parquet/JSON/Text:*
> describe store_sales;
+--+
|  |
+--+
+--+
No rows selected (0.07 seconds)

*Hive:* 
> describe region;
+-------------+------------+-------------+
| COLUMN_NAME | DATA_TYPE  | IS_NULLABLE |
+-------------+------------+-------------+
| r_regionkey | INTEGER    | YES         |
| r_name      | VARCHAR    | YES         |
| r_comment   | VARCHAR    | YES         |
+-------------+------------+-------------+

*Views:*
> describe ship_mode_par_view;
+-------------+------------+-------------+
| COLUMN_NAME | DATA_TYPE  | IS_NULLABLE |
+-------------+------------+-------------+
| *           | ANY        | NO          |
+-------------+------------+-------------+





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