// Now apply the update and get the new cost. We don't care what the cost
// is because SingleSitedCostModel only looks to see whether a txn is single-partition
// and not how many partition it actually touches
// We have to clear the cache for these queries first though
vpc.applyUpdate();
costModel.invalidateCache(vpc.getOptimizedQueries());
double new_cost = costModel.estimateWorkloadCost(clone_catalogContext, workload, filter, null);
System.err.println("NEW COST: " + new_cost);
Collection<TransactionCacheEntry> new_entries = costModel.getTransactionCacheEntries();
assertNotNull(new_entries);
assertEquals(expected_entries.size(), new_entries.size());