Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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