diff --git a/itests/test-docker/src/test/java/org/apache/iceberg/rest/HiveIcebergRESTViewCatalogTests.java b/itests/test-docker/src/test/java/org/apache/iceberg/rest/HiveIcebergRESTViewCatalogTests.java index 20041bdbca9a..41233c8cf6f4 100644 --- a/itests/test-docker/src/test/java/org/apache/iceberg/rest/HiveIcebergRESTViewCatalogTests.java +++ b/itests/test-docker/src/test/java/org/apache/iceberg/rest/HiveIcebergRESTViewCatalogTests.java @@ -57,32 +57,22 @@ protected RESTCatalog tableCatalog() { } @Override - protected boolean requiresNamespaceCreate() { - return true; - } - - @Override - protected boolean supportsServerSideRetry() { - return true; - } + protected String viewLocation(String... paths) { + StringBuilder location = new StringBuilder("s3a://test/test-warehouse"); + for (String path : paths) { + location.append("/").append(path); + } - @Override - public void completeCreateView() { - // This test case requires https://github.com/apache/iceberg/pull/14653 - } - - @Override - public void createAndReplaceViewWithLocation() { - // This test case requires https://github.com/apache/iceberg/pull/14653 + return location.toString(); } @Override - public void createViewWithCustomMetadataLocation() { - // This test case requires https://github.com/apache/iceberg/pull/14653 + protected boolean requiresNamespaceCreate() { + return true; } @Override - public void updateViewLocation() { - // This test case requires https://github.com/apache/iceberg/pull/14653 + protected boolean supportsServerSideRetry() { + return true; } }