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

Insert overwrite with empty data is different in normal table then transactional table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1.0
    • None
    • Hive
    • None

    Description

      Steps:
      Use Case 1:
      create table test3(id int);
      insert into table test3 values(20);
      create table test4(id int);
      insert overwrite table test3 select * from test4;
      select * from test 3;
      Result: 0 rows

      Use Case 2:
      For transnational Table:
      create table test1(id int) stored as orc tblproperties('transactional'='true');
      insert into test1 values(20);
      create table test2(id int) stored as orc tblproperties('transactional'='true');
      insert overwrite table test1 select * from test2;
      select * from test 1;
      Result: 1 rows

      Expectation: Use Case 1 should behave as Use Case 2.

      Attachments

        Activity

          People

            Unassigned Unassigned
            abhishek.akg ABHISHEK KUMAR GUPTA
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: