You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Steven Phillips (JIRA)" <ji...@apache.org> on 2015/06/26 22:10:04 UTC

[jira] [Updated] (DRILL-3402) Throw exception when attempting to partition for format that don't support

     [ https://issues.apache.org/jira/browse/DRILL-3402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Phillips updated DRILL-3402:
-----------------------------------
    Attachment: DRILL-3402.patch

> 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
>         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)