Map<IdentityHashSet<Tuple>, Integer> affinityGroups = null;
continueTrimming = checkCompleteness(cg);
DerivedDataVisitor visitor = null;
LineageTracer lineage = null;
// create affinity groups
if (cg.getInputs().size() == 1) {
affinityGroups = new HashMap<IdentityHashSet<Tuple>, Integer>();
LogicalOperator childOp = cg.getInputs().get(0);
visitor = new DerivedDataVisitor(childOp, null, baseData,