builder.createGroup(O_TABLE, SCHEMA);
builder.addTableToGroup(O_TABLE, SCHEMA, O_TABLE);
builder.joinTables("o/i", SCHEMA, O_TABLE, SCHEMA, I_TABLE);
builder.joinColumns("o/i", SCHEMA, O_TABLE, "id", SCHEMA, I_TABLE, "oid");
builder.addJoinToGroup(O_TABLE, "o/i", 0);
builder.groupingIsComplete();
try {
Table newDef = builder.akibanInformationSchema().getTable(I_NAME);
runAlter(ChangeLevel.GROUP, I_NAME, newDef, Arrays.asList(TableChange.createModify("oid", "oid")), NO_CHANGES);
fail("Expected NotNullViolationException");