distinct vs group by which is better distinct vs group by which is better hadoop hadoop