@Test
void can_collect_alias_in_select_clause() {

  QuerySpecification querySpec = collect(
      "SELECT name AS n FROM test GROUP BY n");
  assertEquals(
      ImmutableMap.of("n", qualifiedName("name")),
      querySpec.getSelectItemsByAlias());
}