assertTrue(innerFunction.info().type() == FunctionInfo.Type.AGGREGATE);
assertEquals(innerFunction.info().ident().name(), CollectSetAggregation.NAME);
List<Symbol> innerArguments = innerFunction.arguments();
assertThat(innerArguments.get(0), IsInstanceOf.instanceOf(Reference.class));
assertThat(((Reference) innerArguments.get(0)).info(), IsInstanceOf.instanceOf(ReferenceInfo.class));
ReferenceInfo refInfo = ((Reference) innerArguments.get(0)).info();
assertThat(refInfo.ident().columnIdent().name(), is("load"));
assertThat(refInfo.ident().columnIdent().path().get(0), is("1"));
assertSame(collectSet, innerFunction);
}