Return-Path: X-Original-To: apmail-drill-issues-archive@minotaur.apache.org Delivered-To: apmail-drill-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D8FD18040 for ; Fri, 26 Jun 2015 21:54:05 +0000 (UTC) Received: (qmail 50355 invoked by uid 500); 26 Jun 2015 21:54:04 -0000 Delivered-To: apmail-drill-issues-archive@drill.apache.org Received: (qmail 50327 invoked by uid 500); 26 Jun 2015 21:54: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 50317 invoked by uid 99); 26 Jun 2015 21:54:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Jun 2015 21:54:04 +0000 Date: Fri, 26 Jun 2015 21:54:04 +0000 (UTC) From: "Jinfeng Ni (JIRA)" To: issues@drill.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DRILL-3402) Throw exception when attempting to partition for format that don't support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DRILL-3402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jinfeng Ni updated DRILL-3402: ------------------------------ Assignee: Steven Phillips (was: Jinfeng Ni) > Throw exception when attempting to partition for format that don't support > -------------------------------------------------------------------------- > > Key: DRILL-3402 > URL: https://issues.apache.org/jira/browse/DRILL-3402 > Project: Apache Drill > Issue Type: Bug > Reporter: Steven Phillips > Assignee: Steven Phillips > Attachments: DRILL-3402.patch > > > CTAS auto-partitioning only works with Parquet output, so we need to make sure we catch it if the output format is set to something other than Parquet. Since CTAS is only supported for the FileSystem storage, that means we only have to handle it for the various FormatPlugins. > I will add a method to the FormatPlugin interface, supportAutoPartitioning(), which will indicate whether it is supported. If it is not supported, and the statement contains a partition clause, it will throw an exception. -- This message was sent by Atlassian JIRA (v6.3.4#6332)