PHOENIX-846 Select DISTINCT with LIMIT does full scans (JamesTaylor)
Merge branch '3.0' of https://git-wip-us.apache.org/repos/asf/incubator-phoenix into 3.0