Pengcheng Xiong created HIVE-9009:
-------------------------------------
Summary: order by
Key: HIVE-9009
URL: https://issues.apache.org/jira/browse/HIVE-9009
Project: Hive
Issue Type: Sub-task
Reporter: Pengcheng Xiong
Currently Hive will treat
select id from A
union all
select id from B
order by id
as
select id from A
union all
(select id from B
order by id)
However, it should be treated as
(select id from A
union all
select id from B)
order by id
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)