drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arina Ielchiieva (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DRILL-4514) Add describe database <db_name> command
Date Wed, 16 Mar 2016 10:03:33 GMT

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

Arina Ielchiieva updated DRILL-4514:
------------------------------------
    Description: 
Add describe database <db_name> command which will return directory associated with
a database on the fly.

Syntax:
describe database <db_name>
describe schema <schema_name>

Output:

{noformat}
 DESCRIBE DATABASE xdf.proc;

+---------------------+----------------------------+
|     SCHEMA_NAME     | LOCATION                   |
+---------------------+----------------------------+
| xdf.proc            | maprfs://dl.data/processed |
+---------------------+----------------------------+
{noformat}



  was:
Add describe database <db_name> command which will return directory associated with
a database on the fly.

Syntax: describe database <db_name>

Output:

{noformat}
 DESCRIBE DATABASE xdf.proc;

+---------------------+----------------------------+
|     SCHEMA_NAME     | LOCATION                   |
+---------------------+----------------------------+
| xdf.proc            | maprfs://dl.data/processed |
+---------------------+----------------------------+
{noformat}




> Add describe database <db_name> command
> ---------------------------------------
>
>                 Key: DRILL-4514
>                 URL: https://issues.apache.org/jira/browse/DRILL-4514
>             Project: Apache Drill
>          Issue Type: New Feature
>    Affects Versions: Future
>            Reporter: Arina Ielchiieva
>            Assignee: Arina Ielchiieva
>
> Add describe database <db_name> command which will return directory associated
with a database on the fly.
> Syntax:
> describe database <db_name>
> describe schema <schema_name>
> Output:
> {noformat}
>  DESCRIBE DATABASE xdf.proc;
> +---------------------+----------------------------+
> |     SCHEMA_NAME     | LOCATION                   |
> +---------------------+----------------------------+
> | xdf.proc            | maprfs://dl.data/processed |
> +---------------------+----------------------------+
> {noformat}



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

Mime
View raw message