Package io.trino.testing
Class AbstractTestDistributedQueries
java.lang.Object
io.trino.testing.AbstractTestQueryFramework
io.trino.testing.AbstractTestQueries
io.trino.testing.AbstractTestDistributedQueries
- Direct Known Subclasses:
BaseConnectorTest
Deprecated.
Generic test for connectors exercising connector's read and write capabilities.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final classDeprecated. -
Field Summary
Fields inherited from class io.trino.testing.AbstractTestQueries
CUSTOM_FUNCTIONS, REQUIRED_TPCH_TABLES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidassertCreateTableAsSelect(Session session, String query, String expectedQuery, String rowCountQuery) Deprecated.protected voidassertCreateTableAsSelect(String query, String rowCountQuery) Deprecated.protected voidassertCreateTableAsSelect(String query, String expectedQuery, String rowCountQuery) Deprecated.protected TestTableDeprecated.protected StringdataMappingTableName(String trinoTypeName) Deprecated.voidDeprecated.Ensure the tests are run withDistributedQueryRunner.filterCaseSensitiveDataMappingTestData(AbstractTestDistributedQueries.DataMappingTestSetup dataMappingTestSetup) Deprecated.filterColumnNameTestData(String columnName) Deprecated.filterDataMappingSmokeTestData(AbstractTestDistributedQueries.DataMappingTestSetup dataMappingTestSetup) Deprecated.protected booleanisColumnNameRejected(Exception exception, String columnName, boolean delimited) Deprecated.protected static booleanrequiresDelimiting(String identifierName) Deprecated.protected voidDeprecated.protected booleanDeprecated.protected booleanDeprecated.protected booleanDeprecated.protected booleanDeprecated.protected booleanDeprecated.protected booleanDeprecated.protected booleanDeprecated.protected booleanDeprecated.protected booleanDeprecated.voidDeprecated.voidtestCaseSensitiveDataMapping(AbstractTestDistributedQueries.DataMappingTestSetup dataMappingTestSetup) Deprecated.final Object[][]Deprecated.voidtestColumnName(String columnName) Deprecated.Object[][]Deprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidtestDataMappingSmokeTest(AbstractTestDistributedQueries.DataMappingTestSetup dataMappingTestSetup) Deprecated.final Object[][]Deprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidDeprecated.voidtestView()Deprecated.voidDeprecated.voidtestViewMetadata(String securityClauseInCreate, String securityClauseInShowCreate) Deprecated.static Object[][]Deprecated.voidDeprecated.Methods inherited from class io.trino.testing.AbstractTestQueries
largeInValuesCount, largeInValuesCountData, testAggregationOverUnknown, testArithmeticNegation, testComplexQuery, testCountAll, testCountColumn, testDistinct, testDistinctHaving, testDistinctLimit, testDistinctMultipleFields, testDistinctWithOrderBy, testFilterPushdownWithAggregation, testIn, testInformationSchemaFiltering, testInformationSchemaUppercaseName, testLargeIn, testLimit, testLimitInInlineView, testLimitMax, testLimitWithAggregation, testPredicate, testRepeatedAggregations, testSelectWithComparison, testShowColumns, testShowSchemas, testShowSchemasFrom, testShowSchemasLike, testShowSchemasLikeWithEscape, testShowTables, testShowTablesLike, testTableSampleBernoulli, testTableSampleBernoulliBoundaryValues, testTopN, testTopNByMultipleFieldsMethods inherited from class io.trino.testing.AbstractTestQueryFramework
assertAccessAllowed, assertAccessAllowed, assertAccessDenied, assertAccessDenied, assertExplain, assertExplain, assertExplainAnalyze, assertExplainAnalyze, assertQuery, assertQuery, assertQuery, assertQuery, assertQuery, assertQuery, assertQueryEventually, assertQueryFails, assertQueryFails, assertQueryFailsEventually, assertQueryOrdered, assertQueryOrdered, assertQueryOrdered, assertQueryOrdered, assertQueryReturnsEmptyResult, assertQueryReturnsEmptyResult, assertQueryStats, assertQuerySucceeds, assertQuerySucceeds, assertTableColumnNames, assertUpdate, assertUpdate, assertUpdate, assertUpdate, assertUpdate, assertUpdate, assertUpdate, close, closeAfterClass, computeActual, computeActual, computeExpected, computeScalar, computeScalar, createQueryRunner, ensureTestNamingConvention, executeExclusively, formatSqlText, getDistributedQueryRunner, getDynamicFilteringStats, getExplainPlan, getGraphvizExplainPlan, getNodeCount, getQualifiedTableName, getQueryRunner, getSession, init, inTransaction, newTransaction, noJoinReordering, noJoinReordering, query, query, searchScanFilterAndProjectOperatorStats, skipTestUnless
-
Constructor Details
-
AbstractTestDistributedQueries
public AbstractTestDistributedQueries()Deprecated.
-
-
Method Details
-
supportsCreateSchema
protected boolean supportsCreateSchema()Deprecated. -
supportsCreateTable
protected boolean supportsCreateTable()Deprecated. -
supportsInsert
protected boolean supportsInsert()Deprecated. -
supportsDelete
protected boolean supportsDelete()Deprecated. -
supportsViews
protected boolean supportsViews()Deprecated. -
supportsArrays
protected boolean supportsArrays()Deprecated. -
supportsCommentOnTable
protected boolean supportsCommentOnTable()Deprecated. -
supportsCommentOnColumn
protected boolean supportsCommentOnColumn()Deprecated. -
supportsRenameTable
protected boolean supportsRenameTable()Deprecated. -
ensureDistributedQueryRunner
public void ensureDistributedQueryRunner()Deprecated.Ensure the tests are run withDistributedQueryRunner. E.g.LocalQueryRunnertakes some shortcuts, not exercising certain aspects. -
testCreateTable
public void testCreateTable()Deprecated. -
testCreateTableAsSelect
public void testCreateTableAsSelect()Deprecated. -
testCreateTableAsSelectWithUnicode
public void testCreateTableAsSelectWithUnicode()Deprecated. -
assertCreateTableAsSelect
Deprecated. -
assertCreateTableAsSelect
Deprecated. -
assertCreateTableAsSelect
protected void assertCreateTableAsSelect(Session session, String query, String expectedQuery, String rowCountQuery) Deprecated. -
testRenameTable
public void testRenameTable()Deprecated. -
testCommentTable
public void testCommentTable()Deprecated. -
testCommentColumn
public void testCommentColumn()Deprecated. -
testRenameColumn
public void testRenameColumn()Deprecated. -
testDropColumn
public void testDropColumn()Deprecated. -
testAddColumn
public void testAddColumn()Deprecated. -
testInsert
public void testInsert()Deprecated. -
testInsertUnicode
public void testInsertUnicode()Deprecated. -
testInsertHighestUnicodeCharacter
public void testInsertHighestUnicodeCharacter()Deprecated. -
testInsertArray
public void testInsertArray()Deprecated. -
testDelete
public void testDelete()Deprecated. -
testDeleteWithComplexPredicate
public void testDeleteWithComplexPredicate()Deprecated. -
testDeleteWithSubquery
public void testDeleteWithSubquery()Deprecated. -
testExplainAnalyzeWithDeleteWithSubquery
public void testExplainAnalyzeWithDeleteWithSubquery()Deprecated. -
testDeleteWithSemiJoin
public void testDeleteWithSemiJoin()Deprecated. -
testDeleteWithVarcharPredicate
public void testDeleteWithVarcharPredicate()Deprecated. -
skipTestUnlessSupportsDeletes
protected void skipTestUnlessSupportsDeletes()Deprecated. -
testDropTableIfExists
public void testDropTableIfExists()Deprecated. -
testView
public void testView()Deprecated. -
testViewCaseSensitivity
public void testViewCaseSensitivity()Deprecated. -
testCompatibleTypeChangeForView
public void testCompatibleTypeChangeForView()Deprecated. -
testCompatibleTypeChangeForView2
public void testCompatibleTypeChangeForView2()Deprecated. -
testViewMetadata
Deprecated. -
testViewMetadataDataProvider
Deprecated. -
testShowCreateView
public void testShowCreateView()Deprecated. -
testQueryLoggingCount
public void testQueryLoggingCount()Deprecated. -
testShowSchemasFromOther
public void testShowSchemasFromOther()Deprecated. -
testSymbolAliasing
public void testSymbolAliasing()Deprecated. -
testWrittenStats
public void testWrittenStats()Deprecated. -
testShowCreateSchema
public void testShowCreateSchema()Deprecated. -
testCreateSchema
public void testCreateSchema()Deprecated. -
testDropNonEmptySchema
public void testDropNonEmptySchema()Deprecated. -
testInsertForDefaultColumn
public void testInsertForDefaultColumn()Deprecated. -
createTableWithDefaultColumns
Deprecated. -
testColumnName
Deprecated. -
isColumnNameRejected
Deprecated. -
requiresDelimiting
Deprecated. -
testColumnNameDataProvider
Deprecated. -
filterColumnNameTestData
Deprecated. -
dataMappingTableName
Deprecated. -
testDataMappingSmokeTest
public void testDataMappingSmokeTest(AbstractTestDistributedQueries.DataMappingTestSetup dataMappingTestSetup) Deprecated. -
testDataMappingSmokeTestDataProvider
Deprecated. -
filterDataMappingSmokeTestData
protected Optional<AbstractTestDistributedQueries.DataMappingTestSetup> filterDataMappingSmokeTestData(AbstractTestDistributedQueries.DataMappingTestSetup dataMappingTestSetup) Deprecated. -
testCaseSensitiveDataMapping
public void testCaseSensitiveDataMapping(AbstractTestDistributedQueries.DataMappingTestSetup dataMappingTestSetup) Deprecated. -
testCaseSensitiveDataMappingProvider
Deprecated. -
filterCaseSensitiveDataMappingTestData
protected Optional<AbstractTestDistributedQueries.DataMappingTestSetup> filterCaseSensitiveDataMappingTestData(AbstractTestDistributedQueries.DataMappingTestSetup dataMappingTestSetup) Deprecated.
-
BaseConnectorTestinstead.