Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AAC4C200B38 for ; Fri, 8 Jul 2016 21:58:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A94D1160A77; Fri, 8 Jul 2016 19:58:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F344F160A36 for ; Fri, 8 Jul 2016 21:58:11 +0200 (CEST) Received: (qmail 3286 invoked by uid 500); 8 Jul 2016 19:58:11 -0000 Mailing-List: contact issues-help@drill.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@drill.apache.org Delivered-To: mailing list issues@drill.apache.org Received: (qmail 3273 invoked by uid 99); 8 Jul 2016 19:58:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2016 19:58:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1081B2C02A4 for ; Fri, 8 Jul 2016 19:58:11 +0000 (UTC) Date: Fri, 8 Jul 2016 19:58:11 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-4514) Add describe schema command MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 08 Jul 2016 19:58:12 -0000 [ https://issues.apache.org/jira/browse/DRILL-4514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15368325#comment-15368325 ] ASF GitHub Bot commented on DRILL-4514: --------------------------------------- Github user jinfengni commented on the issue: https://github.com/apache/drill/pull/436 The new output looks better. I checked hive's command. Seems it lists schema name and its relevant properties. Does it make sense to add schema | database name in the output? > Add describe schema 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 command which will return directory associated with a database on the fly. > Syntax: > describe database > describe schema > Output: > {code:sql} > DESCRIBE SCHEMA dfs.tmp; > {code} > {noformat} > +------------+ > | properties | > +------------+ > | { > "type" : "file", > "enabled" : true, > "connection" : "file:///", > "config" : null, > "formats" : { > "psv" : { > "type" : "text", > "extensions" : [ "tbl" ], > "delimiter" : "|" > }, > "csv" : { > "type" : "text", > "extensions" : [ "csv" ], > "delimiter" : "," > }, > "tsv" : { > "type" : "text", > "extensions" : [ "tsv" ], > "delimiter" : "\t" > }, > "parquet" : { > "type" : "parquet" > }, > "json" : { > "type" : "json", > "extensions" : [ "json" ] > }, > "avro" : { > "type" : "avro" > }, > "sequencefile" : { > "type" : "sequencefile", > "extensions" : [ "seq" ] > }, > "csvh" : { > "type" : "text", > "extensions" : [ "csvh" ], > "extractHeader" : true, > "delimiter" : "," > } > }, > "location" : "/tmp", > "writable" : true, > "defaultInputFormat" : null > } | > +------------+ > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)