TAJO-866: COUNT DISTINCT with other aggregation function throws ClassCastException.