// Manually regenerate schema
// skip duplicate uid check in schema as it would be fixed in
// only portion of the plan
SchemaResetter schemaResetter = new SchemaResetter(plan, true);
schemaResetter.visit();
}
// moved from newplan/logical/rules/DuplicateForEachColumnRewrite.check()
private List<LogicalExpressionPlan> findAllExpPlansToInsertIdentity(LOForEach foreach) throws FrontendException {