[ https://issues.apache.org/jira/browse/HIVE-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amareshwari Sriramadasu updated HIVE-1534: ------------------------------------------ Summary: Join filters does not work correctly with outer joins (was: predicate pushdown does not work correctly with outer joins) Description: SELECT * FROM T1 LEFT OUTER JOIN T2 ON (T1.c1=T2.c2 AND T1.c1 < 10) and SELECT * FROM T1 RIGHT OUTER JOIN T2 ON (T1.c1=T2.c2 AND T2.c1 < 10) does not give correct results. was: The hive documentation for predicate pushdown says: Left outer join: predicates on the left side aliases are pushed Right outer join: predicates on the right side aliases are pushed But, this pushdown should not happen for AND predicates in join queries: ex: SELECT * FROM T1 JOIN T2 ON (T1.c1=T2.c2 AND T1.c1 < 10) > Join filters does not work correctly with outer joins > ----------------------------------------------------- > > Key: HIVE-1534 > URL: https://issues.apache.org/jira/browse/HIVE-1534 > Project: Hadoop Hive > Issue Type: Bug > Components: Query Processor > Reporter: Amareshwari Sriramadasu > Assignee: Amareshwari Sriramadasu > > SELECT * FROM T1 LEFT OUTER JOIN T2 ON (T1.c1=T2.c2 AND T1.c1 < 10) > and SELECT * FROM T1 RIGHT OUTER JOIN T2 ON (T1.c1=T2.c2 AND T2.c1 < 10) > does not give correct results. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.