runAlter(ChangeLevel.TABLE, "ALTER TABLE c ADD COLUMN n INT DEFAULT 0");
writeRows(row(cid, "e", 3));
Schema schema = SchemaCache.globalSchema(ddl().getAIS(session()));
TableRowType cType = schema.tableRowType(getTable(SCHEMA, C_TABLE));
StoreAdapter adapter = newStoreAdapter(schema);
long pk = 1L;
compareRows(
new Row[]{
testRow(cType, "a", 0, pk++),
testRow(cType, "b", 0, pk++),
testRow(cType, "c", 0, pk++),
testRow(cType, "d", 0, pk++),
testRow(cType, "e", 3, pk++),
},
adapter.newGroupCursor(cType.table().getGroup())
);
}