Class BaseConnectorSmokeTest


  • public abstract class BaseConnectorSmokeTest
    extends AbstractTestQueryFramework
    A connector smoke test exercising various connector functionalities without going in depth on any of them. A connector should implement BaseConnectorTest and use this class to exercise some configuration variants.
    • Field Detail

      • REQUIRED_TPCH_TABLES

        protected static final List<io.trino.tpch.TpchTable<?>> REQUIRED_TPCH_TABLES
    • Constructor Detail

      • BaseConnectorSmokeTest

        public BaseConnectorSmokeTest()
    • Method Detail

      • createSchemaSql

        protected String createSchemaSql​(String schemaName)
      • ensureDistributedQueryRunner

        public void ensureDistributedQueryRunner()
        Ensure the tests are run with DistributedQueryRunner. E.g. LocalQueryRunner takes some shortcuts, not exercising certain aspects.
      • testSelect

        public void testSelect()
      • testPredicate

        public void testPredicate()
      • testLimit

        public void testLimit()
      • testTopN

        public void testTopN()
      • testAggregation

        public void testAggregation()
      • testHaving

        public void testHaving()
      • testJoin

        public void testJoin()
      • testCreateTable

        public void testCreateTable()
      • testCreateTableAsSelect

        public void testCreateTableAsSelect()
      • testInsert

        public void testInsert()
      • verifySupportsDeleteDeclaration

        public void verifySupportsDeleteDeclaration()
      • verifySupportsRowLevelDeleteDeclaration

        public void verifySupportsRowLevelDeleteDeclaration()
      • testDeleteAllDataFromTable

        public void testDeleteAllDataFromTable()
      • testRowLevelDelete

        public void testRowLevelDelete()
      • testUpdate

        public void testUpdate()
      • testCreateSchema

        public void testCreateSchema()
      • testRenameSchema

        public void testRenameSchema()
      • testRenameTableAcrossSchemas

        public void testRenameTableAcrossSchemas()
                                          throws Exception
        Throws:
        Exception
      • testSelectInformationSchemaTables

        public void testSelectInformationSchemaTables()
      • testSelectInformationSchemaColumns

        public void testSelectInformationSchemaColumns()
      • testShowCreateTable

        public void testShowCreateTable()
      • testView

        public void testView()
      • testMaterializedView

        public void testMaterializedView()