PHOENIX-1239 IN clause (and some others) cannot get moved from HAVING clause to WHERE clause when qualified
Merge branch '4.0' of https://git-wip-us.apache.org/repos/asf/phoenix into 4.0