builder.compile("testbadddl-oop.jar");
byte[] bytes = MiscUtils.fileToBytes(new File("testbadddl-oop.jar"));
String serializedCatalog = CatalogUtil.getSerializedCatalogStringFromJar(CatalogUtil.loadAndUpgradeCatalogFromJar(bytes).getFirst());
assertNotNull(serializedCatalog);
Catalog c = new Catalog();
c.execute(serializedCatalog);
CatalogContext context = new CatalogContext(0, 0, c, bytes, null, 0, 0);
m_pt = new PlannerTool(context.cluster, context.database, 0);
// Bad DDL would kill the planner before it starts and this query