TAJO-410: A query with a combination of general and distinct aggregation functions fails. (hyunsik)