TAJO-829: Same constants in groupby clause may cause planning error.
TAJO-801: Multiple distinct should be supported. (Hyoungjun Kim via hyunsik)