create a test to verify that partition pruning works for partitioned views with a union ---------------------------------------------------------------------------------------
Key: HIVE-2513 URL: https://issues.apache.org/jira/browse/HIVE-2513 Project: Hive Issue Type: Test Reporter: Namit Jain Assignee: Namit Jain It would be good to have a test to check partition pruning on a view like: create view t1 partitioned on (ds) as select * from ( select key, value, ds from t1_new union all select key, value, t1_old.ds from t1_old join t1_mapping on t1_old.keymap = t1_mapping.keymap and t1_old.ds = t1_mapping.ds ) subq; While adding the test, I found that the lineage is broken for this. Will file a separate issue for that. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira