[ https://issues.apache.org/jira/browse/PHOENIX-1580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14313461#comment-14313461 ]
Maryann Xue commented on PHOENIX-1580: -------------------------------------- Agree with you on idea of treating all statements the same way, [~jamestaylor]. But I think the logic should be put int QueryCompiler.compile() and maybe compileUnionQuery() can call QueryCompiler.compileSubquery() for each statement, wrap the inner plans with UnionPlan. That way, we can handle all kinds of statements (including joins, derived tables) without caring much of what types they actually are. > Support UNION ALL > ----------------- > > Key: PHOENIX-1580 > URL: https://issues.apache.org/jira/browse/PHOENIX-1580 > Project: Phoenix > Issue Type: Bug > Reporter: Alicia Ying Shu > Assignee: Alicia Ying Shu > Attachments: unionall-wipe.patch > > > Select * from T1 > UNION ALL > Select * from T2 -- This message was sent by Atlassian JIRA (v6.3.4#6332)