njain has commented on the revision "
HIVE-2727 [jira] add a testcase for partitioned view on union and base tables have index".
ql/src/test/queries/clientpositive/union_view.q:27 The code changes look OK.
But, can you change the tests ?
Create 2 partitions in each base table.
Change the explain to Explain Extended for all the queries, to verify that we are only looking at the relevant partitions of the index.
Can you unset all the hooks for this (printhook, lineagehook etc.)
Also remove the merge (both map-only and map-reduce only).
It will make the test output much smaller, and easier to validate