public class TestOrderedMuxExchange extends PlanTestBase
BaseTestQuery.ClassicTestServices, BaseTestQuery.SilentListener, BaseTestQuery.TestResultSetDrillTest.MemWatcherEXPECTED_NOT_FOUND, JSON_FORMAT, OPTIQ_FORMAT, UNEXPECTED_FOUNDallocator, bits, client, config, serviceSetc, dirTestWatcher, optionManagerlogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
TestOrderedMuxExchange() |
| Modifier and Type | Method and Description |
|---|---|
static void |
generateTestDataAndQueries()
Generate data for two tables.
|
void |
testLimitOnOrderedMux()
Test case to verify the OrderedMuxExchange created for order by with limit.
|
void |
testLimitOnOrderedMuxWindow()
Test case to verify the OrderedMuxExchange created for order by with limit and window agg.
|
void |
testOrderedMuxForOrderBy()
Test case to verify the OrderedMuxExchange created for order by clause.
|
void |
testOrderedMuxForWindowAgg()
Test case to verify the OrderedMuxExchange created for window functions.
|
checkForMetadataFile, createMetadataDir, getPhysicalJsonPlan, getPlanInString, testPhysicalPlan, testPhysicalPlanExecutionBasedOnQuery, testPlanMatchingPatterns, testPlanMatchingPatterns, testPlanMatchingPatterns, testPlanMatchingPatterns, testPlanOneExcludedPattern, testPlanOneExpectedPattern, testPlanOneExpectedPatternOneExcluded, testPlanSubstrPatterns, testPlanWithAttributesMatchingPatterns, testRelLogicalJoinOrder, testRelLogicalPlanLevDigest, testRelLogicalPlanLevExplain, testRelPhysicalJoinOrder, testRelPhysicalPlanLevDigest, testRelPhysicalPlanLevExplainalterSession, cloneDefaultTestConfigProperties, closeClient, errorMsgTestHelper, getAllocator, getDrillbitContext, getFile, getPhysicalFileFromResource, getResultString, getUserPort, logResult, newTest, parseErrorHelper, printResult, resetAllSessionOptions, resetDrillbitCount, resetSessionOption, runSQL, setColumnWidth, setColumnWidths, setSessionOption, setSessionOption, setSessionOption, setSessionOption, setupDefaultTestCluster, test, test, testBuilder, testLogicalWithResults, testNoResult, testNoResult, testPhysical, testPhysicalFromFile, testPhysicalWithResults, testPreparedStatement, testRunAndPrint, testRunAndReturn, testSql, testSqlWithResults, testWithListener, updateClient, updateClient, updateClient, updateTestCluster, updateTestClusterclear, getLocalFileSystem, mockDrillbitContext, mockUsDateFormatSymbols, mockUtcDateTimeZone, parseExpr, setupOptionManagerescapeJsonString, finishDrillTest, initDrillTestpublic static void generateTestDataAndQueries()
throws Exception
Exceptionpublic void testOrderedMuxForOrderBy()
throws Exception
Exception - if anything goes wrongpublic void testOrderedMuxForWindowAgg()
throws Exception
Exception - if anything goes wrongpublic void testLimitOnOrderedMux()
throws Exception
Exception - if anything goes wrongCopyright © 2021 The Apache Software Foundation. All rights reserved.