You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Pengcheng Xiong (JIRA)" <ji...@apache.org> on 2014/12/26 19:45:13 UTC
[jira] [Created] (HIVE-9217) UnionProcessor misses results for
multi-insert
Pengcheng Xiong created HIVE-9217:
-------------------------------------
Summary: UnionProcessor misses results for multi-insert
Key: HIVE-9217
URL: https://issues.apache.org/jira/browse/HIVE-9217
Project: Hive
Issue Type: Bug
Reporter: Pengcheng Xiong
Assignee: Pengcheng Xiong
To reproduce:
In union_remove_6.q, just change
FROM (
SELECT key, count(1) as values from inputTbl1 group by key
UNION ALL
SELECT key, count(1) as values from inputTbl1 group by key
) a
insert overwrite table outputTbl1 select *
insert overwrite table outputTbl2 select *;
to
FROM (
select * from(
SELECT key, count(1) as values from inputTbl1 group by key
UNION ALL
SELECT key, count(1) as values from inputTbl1 group by key
)subq
) a
insert overwrite table outputTbl1 select *
insert overwrite table outputTbl2 select *;
select * from outputtbl2 will output nothing
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)