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

Update and delete on tables with non Acid output formats gives runtime error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0
    • Query Processor
    • None

    Description

      create table not_an_acid_table(a int, b varchar(128));
      insert into table not_an_acid_table select cint, cast(cstring1 as varchar(128)) from alltypesorc where cint is not null order by cint limit 10;
      delete from not_an_acid_table where b = '0ruyd6Y50JpdGRf6HqD';
      

      This generates a runtime error. It should get a compile error instead.

      Attachments

        1. HIVE-8191.patch
          8 kB
          Alan Gates
        2. HIVE-8191.2.patch
          8 kB
          Alan Gates
        3. HIVE-8191.3.patch
          8 kB
          Alan Gates

        Activity

          People

            gates Alan Gates
            gates Alan Gates
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: