AggregationDistinctProjection extends AggregationProjection { public String getDistinctColumnLabel() { return getAlias().orElse(distinctInnerExpression); } AggregationDistinctProjection(final int startIndex, final int stopIndex,
                                         final AggregationType type, final String innerExpression, final String alias, final String distinctInnerExpression); String getDistinctColumnLabel();  }
@Test public void assertGetDistinctColumnLabel() { assertThat(aggregationDistinctProjection.getDistinctColumnLabel(), is("c")); }