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

Ensure iceberg-catalog tests are executed in ptest

    XMLWordPrintableJSON

Details

    Description

      When running Iceberg tests locally I discovered that there's a failing case in iceberg-catalog
      HiveCreateReplaceTableTest.testReplaceTableTxnTableNotExists, failing with

      java.lang.AssertionError: Expected exception message (No such table: hivedb.tbl) missing: Table does not exist: hivedb.tbl
      	at org.junit.Assert.fail(Assert.java:89)
      	at org.junit.Assert.assertTrue(Assert.java:42)
      	at org.apache.iceberg.AssertHelpers.handleException(AssertHelpers.java:129)
      	at org.apache.iceberg.AssertHelpers.assertThrows(AssertHelpers.java:47)
      	at org.apache.iceberg.hive.HiveCreateReplaceTableTest.testReplaceTableTxnTableNotExists(HiveCreateReplaceTableTest.java:168)
      

      and it probably has been like that since one of the recent Iceberg dependency upgrades.
      We should fix this test so that it has the expected type of exception and ensure that this module is verified as well.

      Attachments

        Issue Links

          Activity

            People

              InvisibleProgrammer Zsolt Miskolczi
              szita Ádám Szita
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m