[ https://issues.apache.org/jira/browse/PHOENIX-1580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14387683#comment-14387683 ]
Alicia Ying Shu edited comment on PHOENIX-1580 at 3/31/15 12:31 AM: -------------------------------------------------------------------- [~jamestaylor] Thanks a lot for the response. In scanner = new MergeSortTopNResultIterator(pIterators, limit, orderBy.getOrderByExpressions()); pIterators is a List and cannot be casted to ResultIterators. Do I have to implement a new ResultIterators? Can you give me an example what a factory method is? was (Author: aliciashu): [~jamestaylor] Thanks a lot for the response. In scanner = new MergeSortTopNResultIterator(pIterators, limit, orderBy.getOrderByExpressions()); pIterators is a List and cannot be casted to ResultIterators. Do I have to implement a new ResultIterators? > 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: PHOENIX-1580-grammar.patch, Phoenix-1580-v1.patch, > phoenix-1580-v1-wipe.patch, phoenix-1580.patch, unionall-wipe.patch > > > Select * from T1 > UNION ALL > Select * from T2 -- This message was sent by Atlassian JIRA (v6.3.4#6332)