plan.getPlan().accept(new ColumnEquivalenceVisitor());
// Do FK table equivalence finding
// Loop through all the tables, and find any possible FK Parents
// Add these to the possible Equivalences
BaseQuery basePlan = (BaseQuery)(plan.getPlan());
List<Picker> pickers = new JoinsFinder(plan).find();
for (Picker picker : pickers) {
addFKEquivsFromJoins (picker.rootJoin(), picker.query.getFKEquivalencies());
picker.query.getFKEquivalencies().copyEquivalences(picker.query.getColumnEquivalencies());
}