"PRIMARY KEY(ID));\n" +
"create assumeunique index pkey_idx on DROPME(VAL);\n" +
"create view BLAT (VAL, TOTAL) as select VAL, COUNT(*) from VIEWBASE group by VAL;\n"
);
builder.addPartitionInfo("BLAH", "ID");
builder.addPartitionInfo("DROPME", "ID");
builder.addStmtProcedure("BLERG", "select * from BLAH where ID = ?");
builder.setUseDDLSchema(true);
boolean success = builder.compile(pathToCatalog, 2, 1, 0);
assertTrue("Schema compilation failed", success);
MiscUtils.copyFile(builder.getPathToDeployment(), pathToDeployment);