@Test
  public void testCtasPartitioned() throws Exception {
    runStatementOnDriver("insert into " + Table.NONACIDNONBUCKET + "(a,b) values(1,2),(1,3)");
    CommandProcessorException e = runStatementOnDriverNegative("create table myctas partitioned " +
        "by (b int) stored as " +
        "ORC TBLPROPERTIES ('transactional'='true') as select a, b from " + Table.NONACIDORCTBL);
    ErrorMsg.CTAS_PARCOL_COEXISTENCE.getErrorCode(); //this code doesn't propagate
    Assert.assertTrue(e.getMessage().contains("CREATE-TABLE-AS-SELECT does not support " +
        "partitioning in the target table"));
  }
Currently CTAS doesn't support partitioned tables.  Correspondingly Acid only supports CTAS for
un-partitioned tables.  This test is here to make sure that if CTAS is made to support
un-partitioned tables, that it raises a red flag for Acid.
ql/src/test/org/apache/hadoop/hive/ql/TestTxnNoBuckets.java