[
https://issues.apache.org/jira/browse/HIVE-26583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ádám Szita resolved HIVE-26583.
-------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Merged to master. Thanks [~InvisibleProgrammer] for fixing this.
> Ensure iceberg-catalog tests are executed in ptest
> --------------------------------------------------
>
> Key: HIVE-26583
> URL: https://issues.apache.org/jira/browse/HIVE-26583
> Project: Hive
> Issue Type: Bug
> Reporter: Ádám Szita
> Assignee: Zsolt Miskolczi
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> When running Iceberg tests locally I discovered that there's a failing case
> in iceberg-catalog
> {{HiveCreateReplaceTableTest.testReplaceTableTxnTableNotExists}}, failing
> with
> {code}
> 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)
> {code}
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)