ImmutableMap.Builder<Symbol, Signature> functionInfos = ImmutableMap.builder();
ImmutableMap.Builder<Symbol, FunctionCall> functionCalls = ImmutableMap.builder();
ImmutableMap.Builder<Symbol, Symbol> masks = ImmutableMap.builder();
for (Map.Entry<Symbol, FunctionCall> entry : node.getAggregations().entrySet()) {
Symbol symbol = entry.getKey();
Symbol canonical = canonicalize(symbol);
FunctionCall canonicalCall = (FunctionCall) canonicalize(entry.getValue());
functionCalls.put(canonical, canonicalCall);
functionInfos.put(canonical, node.getFunctions().get(symbol));
}
for (Map.Entry<Symbol, Symbol> entry : node.getMasks().entrySet()) {