Permalink
Browse files

TEIID-3009 the extra recursion is unneeded since the group collector is

deep
  • Loading branch information...
1 parent 23feec3 commit 79e64465857212a1ca06771210f1110822688eaf @shawkins shawkins committed Jul 23, 2014
@@ -432,11 +432,6 @@ private void discoverWith(
with.add(clause.clone());
command.setSourceHint(SourceHint.combine(command.getSourceHint(), clause.getCommand().getSourceHint()));
}
- for (Command cmd : CommandCollectorVisitor.getCommands(command)) {
- TreeSet<GroupSymbol> temp = new TreeSet<GroupSymbol>(nonCorrelatedComparator);
- GroupCollectorVisitor.getGroupsIgnoreInlineViews(cmd, temp);
- discoverWith(pushdownWith, cmd, with, temp);
- }
}
public void initialize(Command command, IDGenerator idGenerator,

0 comments on commit 79e6446

Please sign in to comment.