Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-12480

Hive Counters "RECORDS_OUT" is wrong when using union all

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.2.1
    • None
    • Statistics
    • None

    Description

      1,prepare

      set hive.execution.engine=mr;
      CREATE TABLE IF NOT EXISTS test(id INT);
      insert into test values (1), (2);
      

      2,the query that will return wrong counter

      set hive.execution.engine=mr;
      insert into test select * from test union all select * from test;
      

      The counter "RECORDS_OUT_1_default.test" is expected as 4,but actually 8

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nemon Nemon Lou
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: