[ https://issues.apache.org/jira/browse/HIVE-15938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15872822#comment-15872822 ]
Pengcheng Xiong commented on HIVE-15938: ---------------------------------------- Thanks for [~sershe]'s efforts. The patch LGTM. I just have one doubt. If you try, you will find out that postgres actually supports select * from t order by 1. I am thinking that after HIVE-15160, supporting order by number in select * would be straight forward. > position alias in order by fails for union queries > -------------------------------------------------- > > Key: HIVE-15938 > URL: https://issues.apache.org/jira/browse/HIVE-15938 > Project: Hive > Issue Type: Bug > Reporter: Sergey Shelukhin > Assignee: Sergey Shelukhin > Attachments: HIVE-15938.01.patch, HIVE-15938.02.patch, > HIVE-15938.03.patch, HIVE-15938.04.patch, HIVE-15938.patch > > > The problem is that the query introduces a spurious ALLCOLREF -- This message was sent by Atlassian JIRA (v6.3.15#6346)