query type support: distinct, distribution