PHOENIX-18 Distinct based aggregations not working correctly when query contains ORDER BY.(Anoop)
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-phoenix