} catch (IllegalArgumentException ex) {
continue;
}
if (catalog_tbl0.equals(catalog_tbl1)) continue;
PredicatePairs global_cset = new PredicatePairs();
try {
edges = agraph.findEdgeSet(v0, v1);
} catch (IllegalArgumentException ex) {
continue;
}
found = true;
for (DesignerEdge e : edges) {
PredicatePairs e_cset = e.getAttribute(EdgeAttributes.COLUMNSET);
assertNotNull(e_cset);
global_cset.addAll(e_cset);
} // FOR
// System.err.println(String.format("%s <-> %s: %d", catalog_tbl0, catalog_tbl1, edges.size()));
// Now check to make sure that there are no edges that have some funky ColumnSet entry that
// wasn't in our original graph
for (DesignerEdge e : single_agraph.findEdgeSet(v0, v1)) {
PredicatePairs e_cset = e.getAttribute(EdgeAttributes.COLUMNSET);
assertNotNull(e_cset);
assertEquals(e_cset.toString(), 1, e_cset.size());
CatalogPair entry = CollectionUtil.first(e_cset);
assertNotNull(entry);
assert(global_cset.contains(entry)) : "Missing " + entry;
} // FOR
} // FOR (V1)