@Test(expected = ShardingException.class)
public void assertGetAggregationDistinctColumnIndexBySumIndexWithException() {

    int actual = distinctQueryMetaData.getAggregationDistinctColumnIndex(0);
    assertThat(actual, is(2));
}