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)

Reply via email to