HIVE-2513: create a test to verify that partition pruning works for partitioned views with a union (namit via He Yongqiang)