Improve join query performance.
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-phoenix