Class BaseConnectorTest


public abstract class BaseConnectorTest extends AbstractTestDistributedQueries
Generic test for connectors.
See Also:
  • Constructor Details

    • BaseConnectorTest

      public BaseConnectorTest()
  • Method Details

    • supportsCreateSchema

      @Deprecated protected final boolean supportsCreateSchema()
      Deprecated.
      Overrides:
      supportsCreateSchema in class AbstractTestDistributedQueries
    • supportsCreateTable

      @Deprecated protected final boolean supportsCreateTable()
      Deprecated.
      Overrides:
      supportsCreateTable in class AbstractTestDistributedQueries
    • supportsInsert

      @Deprecated protected final boolean supportsInsert()
      Deprecated.
      Overrides:
      supportsInsert in class AbstractTestDistributedQueries
    • supportsDelete

      @Deprecated protected final boolean supportsDelete()
      Deprecated.
      Overrides:
      supportsDelete in class AbstractTestDistributedQueries
    • supportsViews

      @Deprecated protected final boolean supportsViews()
      Deprecated.
      Overrides:
      supportsViews in class AbstractTestDistributedQueries
    • supportsArrays

      @Deprecated protected final boolean supportsArrays()
      Deprecated.
      Overrides:
      supportsArrays in class AbstractTestDistributedQueries
    • supportsCommentOnTable

      @Deprecated protected final boolean supportsCommentOnTable()
      Deprecated.
      Overrides:
      supportsCommentOnTable in class AbstractTestDistributedQueries
    • supportsCommentOnColumn

      @Deprecated protected final boolean supportsCommentOnColumn()
      Deprecated.
      Overrides:
      supportsCommentOnColumn in class AbstractTestDistributedQueries
    • supportsRenameTable

      @Deprecated protected boolean supportsRenameTable()
      Deprecated.
      Overrides:
      supportsRenameTable in class AbstractTestDistributedQueries
    • hasBehavior

      protected boolean hasBehavior(TestingConnectorBehavior connectorBehavior)
    • ensureTestNamingConvention

      public void ensureTestNamingConvention()
      Overrides:
      ensureTestNamingConvention in class AbstractTestQueryFramework
    • testColumnsInReverseOrder

      public void testColumnsInReverseOrder()
    • testCharVarcharComparison

      public void testCharVarcharComparison()
    • testVarcharCharComparison

      public void testVarcharCharComparison()
    • testAggregation

      public void testAggregation()
    • testExactPredicate

      public void testExactPredicate()
    • testInListPredicate

      public void testInListPredicate()
    • testIsNullPredicate

      public void testIsNullPredicate()
    • testLikePredicate

      public void testLikePredicate()
    • testMultipleRangesPredicate

      public void testMultipleRangesPredicate()
    • testRangePredicate

      public void testRangePredicate()
    • testPredicateReflectedInExplain

      public void testPredicateReflectedInExplain()
    • testSortItemsReflectedInExplain

      public void testSortItemsReflectedInExplain()
    • testConcurrentScans

      public void testConcurrentScans()
    • testSelectAll

      public void testSelectAll()
    • testJoinWithEmptySides

      public void testJoinWithEmptySides(FeaturesConfig.JoinDistributionType joinDistributionType)
      Test interactions between optimizer (including CBO), scheduling and connector metadata APIs.
    • joinDistributionTypes

      public Object[][] joinDistributionTypes()
    • testJoin

      public void testJoin()
      Test interactions between optimizer (including CBO) and connector metadata APIs.
    • testDescribeTable

      public void testDescribeTable()
    • testView

      public void testView()
      Overrides:
      testView in class AbstractTestDistributedQueries
    • testMaterializedView

      public void testMaterializedView()
    • testRenameMaterializedView

      public void testRenameMaterializedView()
    • testViewAndMaterializedViewTogether

      public void testViewAndMaterializedViewTogether()
    • checkInformationSchemaViewsForMaterializedView

      protected void checkInformationSchemaViewsForMaterializedView(String schemaName, String viewName)
    • testExplainAnalyze

      public void testExplainAnalyze()
    • testExplainAnalyzeVerbose

      public void testExplainAnalyzeVerbose()
    • testTableSampleSystem

      public void testTableSampleSystem()
    • testTableSampleWithFiltering

      public void testTableSampleWithFiltering()
    • testShowCreateTable

      public void testShowCreateTable()
    • testSelectInformationSchemaTables

      public void testSelectInformationSchemaTables()
    • testSelectInformationSchemaColumns

      public void testSelectInformationSchemaColumns()
    • testShowCreateInformationSchema

      public void testShowCreateInformationSchema()
    • testShowCreateInformationSchemaTable

      public void testShowCreateInformationSchemaTable()
    • testRollback

      public void testRollback()
    • testWriteNotAllowedInTransaction

      public void testWriteNotAllowedInTransaction()
    • assertWriteNotAllowedInTransaction

      protected void assertWriteNotAllowedInTransaction(TestingConnectorBehavior behavior, String sql)
    • testRenameSchema

      public void testRenameSchema()
    • testRenameTableAcrossSchema

      public void testRenameTableAcrossSchema()
    • testAddColumn

      public void testAddColumn()
      Overrides:
      testAddColumn in class AbstractTestDistributedQueries
    • testDropColumn

      public void testDropColumn()
      Overrides:
      testDropColumn in class AbstractTestDistributedQueries
    • testRenameColumn

      public void testRenameColumn()
      Overrides:
      testRenameColumn in class AbstractTestDistributedQueries
    • testInsertIntoNotNullColumn

      public void testInsertIntoNotNullColumn()
    • errorMessageForInsertIntoNotNullColumn

      protected String errorMessageForInsertIntoNotNullColumn(String columnName)
    • verifySupportsDeleteDeclaration

      public void verifySupportsDeleteDeclaration()
    • verifySupportsRowLevelDeleteDeclaration

      public void verifySupportsRowLevelDeleteDeclaration()
    • testDeleteAllDataFromTable

      public void testDeleteAllDataFromTable()
    • testRowLevelDelete

      public void testRowLevelDelete()
    • testUpdate

      public void testUpdate()
    • testUpdateRowConcurrently

      public void testUpdateRowConcurrently() throws Exception
      Throws:
      Exception
    • verifyConcurrentUpdateFailurePermissible

      protected void verifyConcurrentUpdateFailurePermissible(Exception e)
    • testTruncateTable

      public void testTruncateTable()
    • testMaterializedViewColumnName

      public void testMaterializedViewColumnName(String columnName)
    • assertPartialLimitWithPreSortedInputsCount

      protected Consumer<Plan> assertPartialLimitWithPreSortedInputsCount(Session session, int expectedCount)