Package io.trino.testing
Class AbstractDistributedEngineOnlyQueries
java.lang.Object
io.trino.testing.AbstractTestQueryFramework
io.trino.testing.AbstractTestEngineOnlyQueries
io.trino.testing.AbstractDistributedEngineOnlyQueries
@TestInstance(PER_CLASS)
public abstract class AbstractDistributedEngineOnlyQueries
extends AbstractTestEngineOnlyQueries
-
Field Summary
Fields inherited from class io.trino.testing.AbstractTestEngineOnlyQueries
TEST_CATALOG_PROPERTIES, TEST_SYSTEM_PROPERTIES, TESTING_CATALOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEnsure the tests are run withDistributedQueryRunnerwith multiple workers.voidsetUp()voidshutdown()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidtestUse()Methods inherited from class io.trino.testing.AbstractTestEngineOnlyQueries
testAggregationInPatternMatching, testAliasedInInlineView, testApproxPercentile, testApproxSetBigint, testApproxSetBigintGroupBy, testApproxSetDouble, testApproxSetDoubleGroupBy, testApproxSetGroupByWithNulls, testApproxSetGroupByWithOnlyNullsInOneGroup, testApproxSetOnlyNulls, testApproxSetVarchar, testApproxSetVarcharGroupBy, testApproxSetWithNulls, testArrayAgg, testArrays, testArrayShuffle, testAssignUniqueId, testAtTimeZone, testAverageAll, testCaseInsensitiveAliasedRelation, testCaseInsensitiveAttribute, testCaseInsensitiveRowFieldReference, testCaseNoElse, testCaseNoElseInconsistentResultType, testCaseWithSupertypeCast, testCast, testChainedPatternMatch, testChainedUnionsWithOrder, testCharVarcharComparison, testChecksum, testCoercions, testColumnAliases, testColumnNames, testComplexCast, testConcatOperator, testCorrelatedExistsSubqueries, testCorrelatedExistsSubqueriesWithEqualityPredicatesInWhere, testCorrelatedExistsSubqueriesWithPrunedCorrelationSymbols, testCorrelatedInPredicateSubqueries, testCorrelatedJoin, testCorrelatedNonAggregationScalarSubqueries, testCorrelatedScalarSubqueries, testCorrelatedScalarSubqueriesWithScalarAggregation, testCorrelatedScalarSubqueriesWithScalarAggregationAndEqualityPredicatesInWhere, testCorrelationSymbolMapping, testCountOnInternalTables, testCustomAdd, testCustomRank, testCustomSum, testDateLiterals, testDefaultExplainGraphvizFormat, testDefaultExplainTextFormat, testDereferenceInComparison, testDereferenceInFunctionCall, testDereferenceInSubquery, testDescribeInput, testDescribeInputNoParameters, testDescribeInputNoSuchQuery, testDescribeInputWithAggregation, testDescribeInputWithClause, testDescribeOutput, testDescribeOutputDateTimeTypes, testDescribeOutputNamedAndUnnamed, testDescribeOutputNonSelect, testDescribeOutputNoSuchQuery, testDescribeOutputOnAliasedColumnsAndExpressions, testDescribeOutputShowTables, testDistinctWithOrderByNotInSelect, testDistributedExplain, testDistributedExplainGraphvizFormat, testDistributedExplainTextFormat, testDuplicateFields, testEmptyApproxSet, testEmptyInputForUnnest, testExcept, testExceptAll, testExceptWithAggregation, testExchangeWithProjectionPushDown, testExecute, testExecuteImmediateWithSubqueries, testExecuteNoSuchQuery, testExecuteUsing, testExecuteUsingComplexJoinCriteria, testExecuteUsingWithFunctionsAsParameters, testExecuteUsingWithSubquery, testExecuteUsingWithSubqueryInJoin, testExecuteUsingWithWithClause, testExecuteWithParametersInDifferentClauses, testExecuteWithParametersInFetchFirst, testExecuteWithParametersInGroupBy, testExecuteWithParametersInLimit, testExecuteWithParametersInOffset, testExistsSubquery, testExistsSubqueryWithGroupBy, testExplainAnalyzeDDL, testExplainDdl, testExplainExecute, testExplainExecuteWithUsing, testExplainJoinDistribution, testExplainOfExplain, testExplainOfExplainAnalyze, testExplainSetSessionWithUsing, testExplainValidate, testExplainValidateThrows, testFetchFirstWithTies, testForcePartitioningMarkDistinctInput, testFunctionArgumentTypeConstraint, testFunctionNotRegistered, testGroupByKeyPredicatePushdown, testGroupByOrderByLimit, testGrouping, testGroupingInTableSubquery, testGroupingWithFortyArguments, testHaving, testIfExpression, testIn, testInlineSqlFunctions, testInlineView, testInlineViewWithProjections, testInSubqueryWithCrossJoin, testIntersect, testIntersectAll, testIntersectWithAggregation, testInUncorrelatedSubquery, testInvalidCast, testInvalidCastInMultilineQuery, testInvalidColumn, testInvalidType, testInvalidTypeArray, testInvalidTypeBetweenOperator, testInvalidTypeInfixOperator, testIoExplain, testJoinedPatternMatch, testJoinWithNonOrderableType, testJsonArrayFunction, testJsonExistsFunction, testJsonObjectFunction, testJsonQueryAsInput, testJsonQueryFunction, testJsonValueDefaultNull, testJsonValueDefaults, testJsonValueFunctionReturnType, testLambdaCapture, testLambdaInAggregationContext, testLambdaInSubqueryContext, testLambdaInValuesAndUnnest, testLargeInArray, testLargePivot, testLargeQuerySuccess, testLimitAll, testLimitZero, testLocallyUnrepresentableTimeLiterals, testLogicalExplain, testLogicalExplainGraphvizFormat, testLogicalExplainTextFormat, testLongPatternMatch, testMaps, testMapSubscript, testMatchRecognize, testMaxBy, testMaxByN, testMaxMinStringWithNulls, testMergeEmptyApproxSet, testMergeEmptyNonEmptyApproxSet, testMergeHyperLogLog, testMergeHyperLogLogGroupBy, testMergeHyperLogLogGroupByWithNulls, testMergeHyperLogLogOnlyNulls, testMergeHyperLogLogWithNulls, testMergeQuantileDigest, testMinBy, testMinByN, testMinMaxByFloatingPointNaN, testMinMaxFloatingPointNaN, testMinMaxNFloatingPointNaN, testMissingRowFieldInGroupBy, testMultiColumnUnionAll, testMultipleOccurrencesOfCorrelatedSymbol, testNodeRoster, testNoFrom, testNonDeterministic, testNonDeterministicAggregationPredicatePushdown, testNonDeterministicFilter, testNonDeterministicProjection, testNonDeterministicTableScanPredicatePushdown, testNonReservedTimeWords, testNullInput, testNullOnLhsOfInPredicateAllowed, testOffset, testOffsetEmptyResult, testOffsetWithFetch, testOffsetWithOrderBy, testOutputInEnforceSingleRow, testP4ApproxSetBigint, testP4ApproxSetBigintGroupBy, testP4ApproxSetDouble, testP4ApproxSetDoubleGroupBy, testP4ApproxSetGroupByWithNulls, testP4ApproxSetGroupByWithOnlyNullsInOneGroup, testP4ApproxSetOnlyNulls, testP4ApproxSetVarchar, testP4ApproxSetVarcharGroupBy, testP4ApproxSetWithNulls, testParameterInParameter, testParametersNonPreparedStatement, testParsingError, testPartialLimitWithPresortedConstantInputs, testPassingClause, testPreparedStatementWithSubqueries, testPruningCountAggregationOverScalar, testPushAggregationWithMaskThroughOuterJoin, testQuantifiedComparison, testQuantifiedComparisonCornerCases, testQuotedIdentifiers, testReduceAgg, testReferenceToWithQueryInFromClause, testRepeatedOutputs, testResetSession, testRollupOverUnion, testRowCast, testRowFieldAccessor, testRowFieldAccessorInAggregate, testRowFieldAccessorInJoin, testRowNumberFilterAndLimit, testRowNumberLimit, testRowNumberMultipleFilters, testRowNumberNoOptimization, testRowNumberPartitionedFilter, testRowNumberPropertyDerivation, testRowNumberSpecialFilters, testRowNumberUnpartitionedFilter, testRowNumberUnpartitionedFilterLimit, testRows, testRowSubscript, testSameInPredicateInProjectionAndFilter, testScalarFunction, testScalarSubquery, testScalarSubqueryWithGroupBy, testSelectAllFromOuterScopeTable, testSelectAllFromRow, testSelectAllFromTable, testSelectCaseInsensitive, testSelectColumnOfNulls, testSelectLargeInterval, testSelectNull, testSelectOnlyUnion, testSetSession, testShowCatalogs, testShowCatalogsLike, testShowFunctions, testShowSession, testShowTablesFrom, testShowTablesLikeWithEscape, testSpecialFloatingPointValues, testStdDev, testStdDevPop, testSubqueriesWithDisjunction, testSubqueryBody, testSubqueryBodyDoubleOrderby, testSubqueryBodyOrderLimit, testSubqueryBodyProjectedOrderby, testSubqueryInJsonFunctions, testSubqueryUnion, testTableAsSubquery, testTableQuery, testTableQueryInUnion, testTableQueryOrderLimit, testTimeLiterals, testTimestampLiterals, testTimestampWithTimeZoneLiterals, testTimeWithTimeZoneLiterals, testTopNPartitionedWindow, testTopNPartitionedWindowWithEqualityFilter, testTopNRank, testTopNUnpartitionedLargeWindow, testTopNUnpartitionedWindow, testTopNUnpartitionedWindowWithCompositeFilter, testTopNUnpartitionedWindowWithEqualityFilter, testTransactionsTable, testTrivialNonDeterministicPredicatePushdown, testTry, testTryInvalidCast, testTryLambdaRepeated, testTryNoMergeProjections, testTwoCorrelatedExistsSubqueries, testTypeMismatch, testUnaliasedSubqueries, testUnaliasedSubqueries1, testUnaliasSymbolReferencesWithUnion, testUnion, testUnionAll, testUnionAllPredicateMoveAroundWithOverlappingProjections, testUnionArray, testUnionDistinct, testUnionRequiringCoercion, testUnionWithAggregation, testUnionWithAggregationAndJoin, testUnionWithAggregationAndTableScan, testUnionWithFilterNotInSelect, testUnionWithJoin, testUnionWithJoinOnNonTranslateableSymbols, testUnionWithProjectionPushDown, testUnionWithTopN, testUnionWithUnionAndAggregation, testUnnest, testUnsuccessfulPatternMatch, testValues, testValuesWithNonTrivialType, testValuesWithTimestamp, testValuesWithUnusedColumns, testVarbinary, testVarcharCharComparison, testVariance, testVariancePop, testWhereNull, testWhereWithRowField, testWildcardFromSubquery, testWindow, testWith, testWithAliased, testWithChaining, testWithColumnAliasing, testWithHiding, testWithNestedSubqueries, testWithQualifiedPrefix, testWithRecursiveMethods inherited from class io.trino.testing.AbstractTestQueryFramework
assertAccessAllowed, assertAccessAllowed, assertAccessDenied, assertAccessDenied, assertExplain, assertExplain, assertExplainAnalyze, assertExplainAnalyze, assertFunctionNotFound, assertNoDataRead, 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, getExplainPlan, getGraphvizExplainPlan, getNodeCount, getQualifiedTableName, getQueryRunner, getSession, init, inTransaction, newTransaction, noJoinReordering, noJoinReordering, query, query, searchScanFilterAndProjectOperatorStats
-
Constructor Details
-
AbstractDistributedEngineOnlyQueries
public AbstractDistributedEngineOnlyQueries()
-
-
Method Details
-
setUp
@BeforeAll public void setUp() -
shutdown
@AfterAll public void shutdown() -
ensureDistributedQueryRunner
@Test public void ensureDistributedQueryRunner()Ensure the tests are run withDistributedQueryRunnerwith multiple workers. -
testTimestampWithTimeZoneLiteralsWithDifferentZone
@Test public void testTimestampWithTimeZoneLiteralsWithDifferentZone() -
testUse
@Test public void testUse() -
testRoles
@Test public void testRoles() -
testDuplicatedRowCreateTable
@Test public void testDuplicatedRowCreateTable() -
testTooLongQuery
@Test public void testTooLongQuery() -
testTooManyStages
@Test public void testTooManyStages() -
testRowSubscriptWithReservedKeyword
@Test public void testRowSubscriptWithReservedKeyword() -
testRowTypeWithReservedKeyword
@Test public void testRowTypeWithReservedKeyword() -
testExplain
@Test public void testExplain() -
testExplainDistributed
@Test public void testExplainDistributed() -
testExplainAnalyze
@Test public void testExplainAnalyze() -
testExplainAnalyzeDynamicFilterInfo
@Test public void testExplainAnalyzeDynamicFilterInfo() -
testExplainAnalyzeVerbose
@Test public void testExplainAnalyzeVerbose() -
testExplainAnalyzeTopLevelTimes
@Test public void testExplainAnalyzeTopLevelTimes() -
testInsertWithCoercion
@Test public void testInsertWithCoercion() -
testCreateTableAsTable
@Test public void testCreateTableAsTable() -
testInsertTableIntoTable
@Test public void testInsertTableIntoTable() -
testImplicitCastToRowWithFieldsRequiringDelimitation
@Test public void testImplicitCastToRowWithFieldsRequiringDelimitation() -
testQueryTransitionsToRunningState
@Test @Timeout(10L) public void testQueryTransitionsToRunningState() -
testSelectiveLimit
@Test @Timeout(30L) public void testSelectiveLimit()
-