[ https://issues.apache.org/jira/browse/HIVE-3426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13466419#comment-13466419 ]
Zhenxiao Luo commented on HIVE-3426: ------------------------------------ TS -- FIL -- SEL \ \ UNION / / TS -- TIL -- SEL Needs to be updated into: TS --FIL -- SEL And, the FIL condition needs to be updated, eg. select key from srcpart where key = 484 union all select key from srcpart where key = 409 should be updated into: select key from srcpart where key = 484 OR key = 409 > union with same source should be optimized > ------------------------------------------ > > Key: HIVE-3426 > URL: https://issues.apache.org/jira/browse/HIVE-3426 > Project: Hive > Issue Type: Improvement > Components: Query Processor > Reporter: Namit Jain > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira