From issues-return-49502-archive-asf-public=cust-asf.ponee.io@drill.apache.org Tue Feb 6 10:36:05 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 9053C180657 for ; Tue, 6 Feb 2018 10:36:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7FF8F160C45; Tue, 6 Feb 2018 09:36:05 +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 C819C160C3A for ; Tue, 6 Feb 2018 10:36:04 +0100 (CET) Received: (qmail 63855 invoked by uid 500); 6 Feb 2018 09:36:04 -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 63846 invoked by uid 99); 6 Feb 2018 09:36:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Feb 2018 09:36:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 9E4C6C0048 for ; Tue, 6 Feb 2018 09:36:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id jyYiAAyhSCrG for ; Tue, 6 Feb 2018 09:36:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 1D8085F184 for ; Tue, 6 Feb 2018 09:36:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 6BF99E0257 for ; Tue, 6 Feb 2018 09:36:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1FC0721E87 for ; Tue, 6 Feb 2018 09:36:00 +0000 (UTC) Date: Tue, 6 Feb 2018 09:36:00 +0000 (UTC) From: "Hari Sekhon (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (DRILL-6135) New Feature: SHOW CREATE VIEW command MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-6135?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1635= 3638#comment-16353638 ]=20 Hari Sekhon edited comment on DRILL-6135 at 2/6/18 9:35 AM: ------------------------------------------------------------ [~julianhyde] I think SHOW CREATE ... is better as it stays in line with other SQL system= s. This should also be applied to tables etc. Examples include MySQL and Pr= esto / AWS Athena: =C2=A0 [https://dev.mysql.com/doc/refman/5.7/en/show-create-table.html] =C2=A0 [https://docs.aws.amazon.com/athena/latest/ug/show-create-table.html] =C2=A0 was (Author: harisekhon): [~julianhyde] SHOW CREATE ... is better as it stays in line with other SQL systems. This = should also be applied to tables etc. Examples include MySQL and Presto / A= WS Athena: =C2=A0 [https://dev.mysql.com/doc/refman/5.7/en/show-create-table.html] =C2=A0 [https://docs.aws.amazon.com/athena/latest/ug/show-create-table.html] =C2=A0 > New Feature: SHOW CREATE VIEW command > ------------------------------------- > > Key: DRILL-6135 > URL: https://issues.apache.org/jira/browse/DRILL-6135 > Project: Apache Drill > Issue Type: New Feature > Components: Metadata, Storage - Information Schema > Affects Versions: 1.10.0 > Environment: MapR 5.2=C2=A0+ Kerberos > Reporter: Hari Sekhon > Priority: Major > > Feature Request to implement > {code:java} > SHOW CREATE VIEW ;{code} > A colleague and I just had to cat the view file which is non-pretty json = and hard to read a large view creation statement that could have been prese= nted in drill shell and formatted. -- This message was sent by Atlassian JIRA (v7.6.3#76005)