Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-19142 Umbrella: branch-3 failing tests
  3. HIVE-19141

TestNegativeCliDriver insert_into_notnull_constraint, insert_into_acid_notnull failing

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0, 3.0.0
    • None
    • None

    Description

      These tests have been consistently failing for a while. I suspect HIVE-18727 has caused these failures. HIVE-18727 changed the code to throw ERROR instead of EXCEPTION if constraints are violated. I guess Negative cli driver doesn't handle errors.

      Following are full list of related failures:

      TestNegativeCliDriver.alter_notnull_constraint_violation
      TestNegativeCliDriver.insert_into_acid_notnull
      TestNegativeCliDriver.insert_into_notnull_constraint
      TestNegativeCliDriver.insert_multi_into_notnull
      TestNegativeCliDriver.insert_overwrite_notnull_constraint
      TestNegativeCliDriver.update_notnull_constraint

      Attachments

        1. HIVE-19141.01.patch
          2 kB
          Igor Kryvenko
        2. HIVE-19141.02.patch
          2 kB
          Igor Kryvenko
        3. HIVE-19141.03.patch
          3 kB
          Igor Kryvenko

        Issue Links

          Activity

            People

              ikryvenko Igor Kryvenko
              vgarg Vineet Garg
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: