public class TestHivePartitionPruning extends HiveTestBase
BaseTestQuery.ClassicTestServices, BaseTestQuery.SilentListener, BaseTestQuery.TestResultSetDrillTest.MemWatcherHIVE_TEST_FIXTUREEXPECTED_NOT_FOUND, JSON_FORMAT, OPTIQ_FORMAT, UNEXPECTED_FOUNDallocator, bits, client, config, serviceSetc, dirTestWatcher, optionManagerlogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
TestHivePartitionPruning() |
| Modifier and Type | Method and Description |
|---|---|
static void |
disableDecimalDataType() |
static void |
enableDecimalDataType() |
void |
pruneDataTypeSupport()
Tests pruning on table that has partitions columns of supported data types.
|
void |
prunePartitionsBasedOnTransitivePredicates() |
void |
selectFromPartitionedTableWithNullPartitions() |
void |
testComplexFilter() |
void |
testConjunctsPartitionFilter() |
void |
testDisjunctsPartitionFilter() |
void |
testPartitionColumnsCaching() |
void |
testRangeFilter() |
void |
testRangeFilterWithDisjunct() |
void |
testSimplePartitionFilter() |
setUp, tearDowncheckForMetadataFile, 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 testSimplePartitionFilter()
throws Exception
Exceptionpublic void testDisjunctsPartitionFilter()
throws Exception
Exceptionpublic void testConjunctsPartitionFilter()
throws Exception
Exceptionpublic void testRangeFilterWithDisjunct()
throws Exception
Exceptionpublic void pruneDataTypeSupport()
throws Exception
Exceptionpublic void selectFromPartitionedTableWithNullPartitions()
throws Exception
Exceptionpublic void testPartitionColumnsCaching()
throws Exception
Exceptionpublic void prunePartitionsBasedOnTransitivePredicates()
throws Exception
ExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.