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

    Fields
    Modifier and Type
    Field
    Description
    static Map<String,String>
     

    Fields inherited from class org.apache.iceberg.view.ViewCatalogTests

    SCHEMA
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    before(org.junit.jupiter.api.TestInfo testInfo)
     
    protected org.apache.iceberg.rest.RESTCatalog
     
    void
     
    void
     
    void
     
    protected abstract org.apache.polaris.core.admin.model.StorageConfigInfo
     
    protected boolean
     
    protected boolean
     
    protected abstract boolean
     
    protected boolean
     
    protected org.apache.iceberg.catalog.Catalog
     

    Methods 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DEFAULT_REST_CATALOG_CONFIG

      public static Map<String,String> 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:
      catalog in class org.apache.iceberg.view.ViewCatalogTests<org.apache.iceberg.rest.RESTCatalog>
    • tableCatalog

      protected org.apache.iceberg.catalog.Catalog tableCatalog()
      Specified by:
      tableCatalog in class org.apache.iceberg.view.ViewCatalogTests<org.apache.iceberg.rest.RESTCatalog>
    • requiresNamespaceCreate

      protected boolean requiresNamespaceCreate()
      Overrides:
      requiresNamespaceCreate in class org.apache.iceberg.view.ViewCatalogTests<org.apache.iceberg.rest.RESTCatalog>
    • supportsServerSideRetry

      protected boolean supportsServerSideRetry()
      Overrides:
      supportsServerSideRetry in class org.apache.iceberg.view.ViewCatalogTests<org.apache.iceberg.rest.RESTCatalog>
    • overridesRequestedLocation

      protected boolean overridesRequestedLocation()
      Overrides:
      overridesRequestedLocation in class org.apache.iceberg.view.ViewCatalogTests<org.apache.iceberg.rest.RESTCatalog>
    • createViewWithCustomMetadataLocation

      @Test public void createViewWithCustomMetadataLocation()
      Overrides:
      createViewWithCustomMetadataLocation in class org.apache.iceberg.view.ViewCatalogTests<org.apache.iceberg.rest.RESTCatalog>
    • createViewWithCustomMetadataLocationUsingPolaris

      @Test public void createViewWithCustomMetadataLocationUsingPolaris(@TempDir Path tempDir)