[ https://issues.apache.org/jira/browse/PHOENIX-1580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14387850#comment-14387850 ]
James Taylor commented on PHOENIX-1580: --------------------------------------- +1 to what Maryann said. [~ayingshu] - a "factory method" in this context is a static method that constructs an instance. In general, before making a private constructor public, check for a static method in the class itself that you can use instead (as it typically has a bit of additional logic to optimize the construction or enforce a certain abstraction). > 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)