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 20F35200B41 for ; Thu, 7 Jul 2016 23:50:13 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1F9F4160A4F; Thu, 7 Jul 2016 21:50:13 +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 8E39D160A75 for ; Thu, 7 Jul 2016 23:50:12 +0200 (CEST) Received: (qmail 17916 invoked by uid 500); 7 Jul 2016 21:50: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 17881 invoked by uid 99); 7 Jul 2016 21:50:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2016 21:50:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 174572C02AA for ; Thu, 7 Jul 2016 21:50:11 +0000 (UTC) Date: Thu, 7 Jul 2016 21:50:11 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DRILL-4673) Implement "DROP TABLE IF EXISTS" for drill to prevent FAILED status on command return MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 07 Jul 2016 21:50:13 -0000 [ https://issues.apache.org/jira/browse/DRILL-4673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15366841#comment-15366841 ] ASF GitHub Bot commented on DRILL-4673: --------------------------------------- Github user sudheeshkatkam commented on a diff in the pull request: https://github.com/apache/drill/pull/541#discussion_r69994120 --- Diff: exec/java-exec/src/test/java/org/apache/drill/exec/sql/TestViewSupport.java --- @@ -591,4 +591,27 @@ public void showProperMsgWhenTryingToDropANonViewTable() throws Exception{ FileUtils.deleteQuietly(tblPath); } } + + @Test // DRILL-4673 + public void testDropViewIfExists() throws Exception { --- End diff -- Please split into multiple tests. > Implement "DROP TABLE IF EXISTS" for drill to prevent FAILED status on command return > ------------------------------------------------------------------------------------- > > Key: DRILL-4673 > URL: https://issues.apache.org/jira/browse/DRILL-4673 > Project: Apache Drill > Issue Type: New Feature > Components: Functions - Drill > Reporter: Vitalii Diravka > Assignee: Vitalii Diravka > Priority: Minor > Labels: drill > > Implement "DROP TABLE IF EXISTS" for drill to prevent FAILED status on command "DROP TABLE" return if table doesn't exist. > The same for "DROP VIEW IF EXISTS" -- This message was sent by Atlassian JIRA (v6.3.4#6332)