Class PolarisRestCatalogViewIntegrationBase
java.lang.Object
org.apache.iceberg.view.ViewCatalogTests<org.apache.iceberg.rest.RESTCatalog>
org.apache.polaris.service.it.test.PolarisRestCatalogViewIntegrationBase
- Direct Known Subclasses:
PolarisRestCatalogViewAwsIntegrationTest,PolarisRestCatalogViewAzureIntegrationTest,PolarisRestCatalogViewFileIntegrationTestBase,PolarisRestCatalogViewGcpIntegrationTest
@ExtendWith(PolarisIntegrationTestExtension.class)
public abstract class PolarisRestCatalogViewIntegrationBase
extends org.apache.iceberg.view.ViewCatalogTests<org.apache.iceberg.rest.RESTCatalog>
Import the full core Iceberg catalog tests by hitting the REST service via the RESTCatalog
client.
-
Field Summary
FieldsFields inherited from class org.apache.iceberg.view.ViewCatalogTests
SCHEMA -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbefore(org.junit.jupiter.api.TestInfo testInfo) protected org.apache.iceberg.rest.RESTCatalogcatalog()voidcleanUp()voidvoidprotected abstract org.apache.polaris.core.admin.model.StorageConfigInfoprotected booleanprotected booleanprotected abstract booleanprotected booleanprotected org.apache.iceberg.catalog.CatalogMethods inherited from class org.apache.iceberg.view.ViewCatalogTests
basicCreateView, completeCreateView, concurrentReplaceViewVersion, createAndReplaceViewWithLocation, createOrReplaceTableViaTransactionThatAlreadyExistsAsView, createOrReplaceView, createOrReplaceViewThatAlreadyExistsAsTable, createTableThatAlreadyExistsAsView, createTableViaTransactionThatAlreadyExistsAsView, createViewConflict, createViewErrorCases, createViewThatAlreadyExists, createViewThatAlreadyExistsAsTable, defaultViewProperties, listViews, listViewsAndTables, listViewsInEmptyNamespace, loadViewWithNonExistingNamespace, overrideViewProperties, renameTableTargetAlreadyExistsAsView, renameView, renameViewNamespaceMissing, renameViewSourceMissing, renameViewTargetAlreadyExistsAsTable, renameViewTargetAlreadyExistsAsView, renameViewUsingDifferentNamespace, replaceTableViaTransactionThatAlreadyExistsAsView, replaceViewConflict, replaceViewErrorCases, replaceViewThatAlreadyExistsAsTable, replaceViewVersion, replaceViewVersionByUpdatingSQLForDialect, replaceViewVersionConflict, replaceViewVersionErrorCases, supportsEmptyNamespace, testSqlForCaseInsensitive, testSqlForInvalidArguments, testSqlForMultipleDialects, updateViewLocation, updateViewLocationConflict, updateViewProperties, updateViewPropertiesConflict, updateViewPropertiesErrorCases
-
Field Details
-
DEFAULT_REST_CATALOG_CONFIG
-
-
Constructor Details
-
PolarisRestCatalogViewIntegrationBase
public PolarisRestCatalogViewIntegrationBase()
-
-
Method Details
-
before
@BeforeEach public void before(org.junit.jupiter.api.TestInfo testInfo) -
cleanUp
@AfterEach public void cleanUp() -
getStorageConfigInfo
protected abstract org.apache.polaris.core.admin.model.StorageConfigInfo getStorageConfigInfo()- Returns:
- The catalog's storage config.
-
shouldSkip
protected abstract boolean shouldSkip()- Returns:
- Whether the tests should be skipped, for example due to environment variables not being specified.
-
catalog
protected org.apache.iceberg.rest.RESTCatalog catalog()- Specified by:
catalogin classorg.apache.iceberg.view.ViewCatalogTests<org.apache.iceberg.rest.RESTCatalog>
-
tableCatalog
protected org.apache.iceberg.catalog.Catalog tableCatalog()- Specified by:
tableCatalogin classorg.apache.iceberg.view.ViewCatalogTests<org.apache.iceberg.rest.RESTCatalog>
-
requiresNamespaceCreate
protected boolean requiresNamespaceCreate()- Overrides:
requiresNamespaceCreatein classorg.apache.iceberg.view.ViewCatalogTests<org.apache.iceberg.rest.RESTCatalog>
-
supportsServerSideRetry
protected boolean supportsServerSideRetry()- Overrides:
supportsServerSideRetryin classorg.apache.iceberg.view.ViewCatalogTests<org.apache.iceberg.rest.RESTCatalog>
-
overridesRequestedLocation
protected boolean overridesRequestedLocation()- Overrides:
overridesRequestedLocationin classorg.apache.iceberg.view.ViewCatalogTests<org.apache.iceberg.rest.RESTCatalog>
-
createViewWithCustomMetadataLocation
@Test public void createViewWithCustomMetadataLocation()- Overrides:
createViewWithCustomMetadataLocationin classorg.apache.iceberg.view.ViewCatalogTests<org.apache.iceberg.rest.RESTCatalog>
-
createViewWithCustomMetadataLocationUsingPolaris
-