You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Nemon Lou (JIRA)" <ji...@apache.org> on 2015/11/20 13:18:11 UTC

[jira] [Created] (HIVE-12480) Hive Counters "RECORDS_OUT" is wrong when using union all

Nemon Lou created HIVE-12480:
--------------------------------

             Summary: Hive Counters "RECORDS_OUT"  is wrong when using union all 
                 Key: HIVE-12480
                 URL: https://issues.apache.org/jira/browse/HIVE-12480
             Project: Hive
          Issue Type: Bug
          Components: Statistics
    Affects Versions: 1.2.1
            Reporter: Nemon Lou
            Priority: Minor


1,prepare
{noformat}
set hive.execution.engine=mr;
CREATE TABLE IF NOT EXISTS test(id INT);
insert into test values (1), (2);
{noformat}
2,the query that will return wrong counter
{noformat}
set hive.execution.engine=mr;
insert into test select * from test union all select * from test;
{noformat}
The counter "RECORDS_OUT_1_default.test" is expected as 4,but actually 8



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)