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

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

Steven Phillips created DRILL-3402:
--------------------------------------

             Summary: 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


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)