Class AbstractTestDistributedQueries

    • Constructor Detail

      • AbstractTestDistributedQueries

        public AbstractTestDistributedQueries()
    • Method Detail

      • supportsViews

        protected boolean supportsViews()
      • supportsArrays

        protected boolean supportsArrays()
      • supportsCommentOnColumn

        protected boolean supportsCommentOnColumn()
      • ensureDistributedQueryRunner

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

        public void testSetSession()
      • testResetSession

        public void testResetSession()
      • testCreateTable

        public void testCreateTable()
      • testCreateTableAsSelect

        public void testCreateTableAsSelect()
      • assertExplainAnalyze

        protected void assertExplainAnalyze​(java.lang.String query)
      • assertCreateTableAsSelect

        protected void assertCreateTableAsSelect​(java.lang.String query,
                                                 java.lang.String rowCountQuery)
      • assertCreateTableAsSelect

        protected void assertCreateTableAsSelect​(java.lang.String query,
                                                 java.lang.String expectedQuery,
                                                 java.lang.String rowCountQuery)
      • assertCreateTableAsSelect

        protected void assertCreateTableAsSelect​(io.prestosql.Session session,
                                                 java.lang.String query,
                                                 java.lang.String expectedQuery,
                                                 java.lang.String rowCountQuery)
      • testRenameTable

        public void testRenameTable()
      • testCommentTable

        public void testCommentTable()
      • testCommentColumn

        public void testCommentColumn()
      • testRenameColumn

        public void testRenameColumn()
      • testDropColumn

        public void testDropColumn()
      • testAddColumn

        public void testAddColumn()
      • testInsert

        public void testInsert()
      • testInsertWithCoercion

        public void testInsertWithCoercion()
      • testInsertUnicode

        public void testInsertUnicode()
      • testInsertArray

        public void testInsertArray()
      • testDelete

        public void testDelete()
      • testDropTableIfExists

        public void testDropTableIfExists()
      • testView

        public void testView()
      • testViewCaseSensitivity

        public void testViewCaseSensitivity()
      • testCompatibleTypeChangeForView

        public void testCompatibleTypeChangeForView()
      • testCompatibleTypeChangeForView2

        public void testCompatibleTypeChangeForView2()
      • testViewMetadata

        public void testViewMetadata()
      • testShowCreateView

        public void testShowCreateView()
      • testQueryLoggingCount

        public void testQueryLoggingCount()
      • testShowSchemasFromOther

        public void testShowSchemasFromOther()
      • testSymbolAliasing

        public void testSymbolAliasing()
      • testNonQueryAccessControl

        public void testNonQueryAccessControl()
      • testViewColumnAccessControl

        public void testViewColumnAccessControl()
      • testViewFunctionAccessControl

        public void testViewFunctionAccessControl()
      • testWrittenStats

        public void testWrittenStats()
      • testCreateSchema

        public void testCreateSchema()
      • testInsertForDefaultColumn

        public void testInsertForDefaultColumn()
      • createTableWithDefaultColumns

        protected abstract TestTable createTableWithDefaultColumns()
      • testColumnName

        public void testColumnName​(java.lang.String columnName)
      • isColumnNameRejected

        protected boolean isColumnNameRejected​(java.lang.Exception exception,
                                               java.lang.String columnName,
                                               boolean delimited)
      • testColumnNameDataProvider

        public java.lang.Object[][] testColumnNameDataProvider()
      • dataMappingTableName

        protected java.lang.String dataMappingTableName​(java.lang.String prestoTypeName)
      • testDataMappingSmokeTestDataProvider

        public final java.lang.Object[][] testDataMappingSmokeTestDataProvider()