Package io.trino.testing
Class AbstractDistributedEngineOnlyQueries
java.lang.Object
io.trino.testing.AbstractTestQueryFramework
io.trino.testing.AbstractTestEngineOnlyQueries
io.trino.testing.AbstractDistributedEngineOnlyQueries
-
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 withDistributedQueryRunner.voidsetUp()voidshutdown()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidtestUse()Methods inherited from class io.trino.testing.AbstractTestEngineOnlyQueries
qualifiedComparisonsCornerCases, 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, testComplexCast, testConcatOperator, testCorrelatedExistsSubqueries, testCorrelatedExistsSubqueriesWithEqualityPredicatesInWhere, testCorrelatedExistsSubqueriesWithPrunedCorrelationSymbols, testCorrelatedInPredicateSubqueries, testCorrelatedJoin, testCorrelatedNonAggregationScalarSubqueries, testCorrelatedScalarSubqueries, testCorrelatedScalarSubqueriesWithScalarAggregation, testCorrelatedScalarSubqueriesWithScalarAggregationAndEqualityPredicatesInWhere, testCorrelationSymbolMapping, testCountOnInternalTables, testCustomAdd, testCustomRank, testCustomSum, testDateLiterals, testDefaultDecimalLiteralSwitch, testDefaultExplainGraphvizFormat, testDefaultExplainTextFormat, testDereferenceInComparison, testDereferenceInFunctionCall, testDereferenceInSubquery, testDescribeInput, testDescribeInputNoParameters, testDescribeInputNoSuchQuery, testDescribeInputWithAggregation, testDescribeOutput, testDescribeOutputDateTimeTypes, testDescribeOutputNamedAndUnnamed, testDescribeOutputNonSelect, testDescribeOutputNoSuchQuery, testDescribeOutputOnAliasedColumnsAndExpressions, testDescribeOutputShowTables, testDistinctWithOrderByNotInSelect, testDistributedExplain, testDistributedExplainGraphvizFormat, testDistributedExplainTextFormat, testDuplicateFields, testEmptyApproxSet, testEmptyInputForUnnest, testExcept, testExceptAll, testExceptWithAggregation, testExchangeWithProjectionPushDown, testExecute, 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, 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, testLateMaterializationOuterJoin, testLimitAll, testLimitZero, testLocallyUnrepresentableTimeLiterals, testLogicalExplain, testLogicalExplainGraphvizFormat, testLogicalExplainTextFormat, testLongPatternMatch, testMaps, testMapSubscript, testMatchRecognize, testMaxBy, testMaxByN, testMaxMinStringWithNulls, testMergeEmptyApproxSet, testMergeEmptyNonEmptyApproxSet, testMergeHyperLogLog, testMergeHyperLogLogGroupBy, testMergeHyperLogLogGroupByWithNulls, testMergeHyperLogLogOnlyNulls, testMergeHyperLogLogWithNulls, 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, 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
-
AbstractDistributedEngineOnlyQueries
public AbstractDistributedEngineOnlyQueries()
-
-
Method Details
-
setUp
public void setUp() -
shutdown
public void shutdown() -
ensureDistributedQueryRunner
public void ensureDistributedQueryRunner()Ensure the tests are run withDistributedQueryRunner. E.g.LocalQueryRunnertakes some shortcuts, not exercising certain aspects. -
testTimestampWithTimeZoneLiteralsWithDifferentZone
public void testTimestampWithTimeZoneLiteralsWithDifferentZone() -
testUse
public void testUse() -
testRoles
public void testRoles() -
testDuplicatedRowCreateTable
public void testDuplicatedRowCreateTable() -
testTooLongQuery
public void testTooLongQuery() -
testTooManyStages
public void testTooManyStages() -
testRowSubscriptWithReservedKeyword
public void testRowSubscriptWithReservedKeyword() -
testRowTypeWithReservedKeyword
public void testRowTypeWithReservedKeyword() -
testExplain
public void testExplain() -
testExplainAnalyze
public void testExplainAnalyze() -
testExplainAnalyzeDynamicFilterInfo
public void testExplainAnalyzeDynamicFilterInfo() -
testExplainAnalyzeVerbose
public void testExplainAnalyzeVerbose() -
testInsertWithCoercion
public void testInsertWithCoercion() -
testCreateTableAsTable
public void testCreateTableAsTable() -
testInsertTableIntoTable
public void testInsertTableIntoTable() -
testImplicitCastToRowWithFieldsRequiringDelimitation
public void testImplicitCastToRowWithFieldsRequiringDelimitation() -
testQueryTransitionsToRunningState
public void testQueryTransitionsToRunningState() -
testSelectiveLimit
public void testSelectiveLimit()
-