PHOENIX-1182 UPSERT SELECT not working with joins; Add a test in DerivedTableIT
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/phoenix