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 309BA200D47 for ; Sat, 11 Nov 2017 01:20:56 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2DC3C160BF2; Sat, 11 Nov 2017 00:20:56 +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 6B4A4160BEE for ; Sat, 11 Nov 2017 01:20:55 +0100 (CET) Received: (qmail 57865 invoked by uid 500); 11 Nov 2017 00:20:54 -0000 Mailing-List: contact dev-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 dev@drill.apache.org Received: (qmail 57852 invoked by uid 99); 11 Nov 2017 00:20:54 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Nov 2017 00:20:54 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id BF4AEDFA0C; Sat, 11 Nov 2017 00:20:53 +0000 (UTC) From: prasadns14 To: dev@drill.apache.org Reply-To: dev@drill.apache.org References: In-Reply-To: Subject: [GitHub] drill pull request #1033: DRILL-5952: Implement "CREATE TABLE IF NOT EXISTS" Content-Type: text/plain Message-Id: <20171111002053.BF4AEDFA0C@git1-us-west.apache.org> Date: Sat, 11 Nov 2017 00:20:53 +0000 (UTC) archived-at: Sat, 11 Nov 2017 00:20:56 -0000 Github user prasadns14 commented on a diff in the pull request: https://github.com/apache/drill/pull/1033#discussion_r150364771 --- Diff: exec/java-exec/src/main/codegen/includes/parserImpls.ftl --- @@ -215,11 +215,12 @@ SqlNode SqlDropView() : /** * Parses a CTAS or CTTAS statement. - * CREATE [TEMPORARY] TABLE tblname [ (field1, field2, ...) ] AS select_statement. + * CREATE [TEMPORARY] [IF NOT EXISTS] TABLE tblname [ (field1, field2, ...) ] AS select_statement. --- End diff -- Fixed it ---