}
discoveredGroup(obj.getGroupSymbol());
try {
ResolverUtil.addTempGroup(metadata, obj.getGroupSymbol(), obj.getProjectedSymbols(), false);
} catch (QueryResolverException err) {
throw new TeiidRuntimeException(err);
}
obj.getGroupSymbol().setMetadataID(metadata.getMetadataStore().getTempGroupID(obj.getGroupSymbol().getName()));
//now resolve the projected symbols
Set<GroupSymbol> groups = new HashSet<GroupSymbol>();
groups.add(obj.getGroupSymbol());
for (ElementSymbol symbol : obj.getProjectedSymbols()) {
try {
ResolverVisitor.resolveLanguageObject(symbol, groups, null, metadata);
} catch (TeiidException e) {
throw new TeiidRuntimeException(e);
}
}
}