[
https://issues.apache.org/jira/browse/PHOENIX-1580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14382169#comment-14382169
]
James Taylor commented on PHOENIX-1580:
---------------------------------------
The usual way of doing an ORDER BY with UNION is to refer to the SELECT
expression being used by ordinal position (PHOENIX-1749). I've described how to
implement that for Alicia above (it's just a few lines of code). If you don't
use ordinal position, then the column names must match or you could potential
use an alias name that's the same across all SELECT expressions as well.
> 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-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)