public class TestConstantFolding extends PlanTestBase
| Modifier and Type | Class and Description |
|---|---|
static class |
TestConstantFolding.SmallFileCreator |
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 |
|---|
TestConstantFolding() |
| Modifier and Type | Method and Description |
|---|---|
void |
testConstantFolding_allTypes() |
void |
testConstantFoldingDisableOption() |
void |
testConstExprFolding_dontFoldRandom() |
void |
testConstExprFolding_InSelect() |
void |
testConstExprFolding_moreComplicatedNonDirFilter() |
void |
testConstExprFolding_nonDirFilter() |
void |
testConstExprFolding_ToLimit0() |
void |
testConstExprFolding_withPartitionPrune_verySmallFiles() |
void |
testConstExprFolding_withPartitionPrune() |
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 void testConstantFolding_allTypes()
throws Exception
Exceptionpublic void testConstExprFolding_withPartitionPrune_verySmallFiles()
throws Exception
Exceptionpublic void testConstExprFolding_withPartitionPrune()
throws Exception
Exceptionpublic void testConstExprFolding_nonDirFilter()
throws Exception
Exceptionpublic void testConstantFoldingDisableOption()
throws Exception
Exceptionpublic void testConstExprFolding_moreComplicatedNonDirFilter()
throws Exception
Exceptionpublic void testConstExprFolding_dontFoldRandom()
throws Exception
Exceptionpublic void testConstExprFolding_ToLimit0()
throws Exception
ExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.