BasePlannable insertResult = compiler.compile((DMLStatementNode) insertStmt, null, planContext);
insertPlan = insertResult.getPlannable();
deletePlan = new Delete_Returning(insertPlan.getInputOperators().iterator().next(), false);
}
int tableID = cs.getTableId();
TableRowType newType = newSchema.tableRowType(tableID);
TableTransform transform = buildTableTransform(cs, changeLevel, oldAIS, newType, typesRegistry,
typesTranslator, (Operator)deletePlan, (Operator)insertPlan);
TableTransform prev = cache.put(tableID, transform);
assert (prev == null) : tableID;
}