public class TestHivePartitionPruning extends HiveTestBase
BaseTestQuery.ClassicTestServices, BaseTestQuery.SilentListener, BaseTestQuery.TestResultSet
DrillTest.MemWatcher
HIVE_TEST_FIXTURE
EXPECTED_NOT_FOUND, JSON_FORMAT, OPTIQ_FORMAT, UNEXPECTED_FOUND
allocator, bits, client, config, serviceSet
c, dirTestWatcher, optionManager
logOutcome, 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, tearDown
checkForMetadataFile, createMetadataDir, getPhysicalJsonPlan, getPlanInString, testPhysicalPlan, testPhysicalPlanExecutionBasedOnQuery, testPlanMatchingPatterns, testPlanMatchingPatterns, testPlanMatchingPatterns, testPlanMatchingPatterns, testPlanOneExcludedPattern, testPlanOneExpectedPattern, testPlanOneExpectedPatternOneExcluded, testPlanSubstrPatterns, testPlanWithAttributesMatchingPatterns, testRelLogicalJoinOrder, testRelLogicalPlanLevDigest, testRelLogicalPlanLevExplain, testRelPhysicalJoinOrder, testRelPhysicalPlanLevDigest, testRelPhysicalPlanLevExplain
alterSession, 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, updateTestCluster
clear, getLocalFileSystem, mockDrillbitContext, mockUsDateFormatSymbols, mockUtcDateTimeZone, parseExpr, setupOptionManager
escapeJsonString, finishDrillTest, initDrillTest
public void testSimplePartitionFilter() throws Exception
Exception
public void testDisjunctsPartitionFilter() throws Exception
Exception
public void testConjunctsPartitionFilter() throws Exception
Exception
public void testRangeFilterWithDisjunct() throws Exception
Exception
public void pruneDataTypeSupport() throws Exception
Exception
public void selectFromPartitionedTableWithNullPartitions() throws Exception
Exception
public void testPartitionColumnsCaching() throws Exception
Exception
public void prunePartitionsBasedOnTransitivePredicates() throws Exception
Exception
Copyright © 2021 The Apache Software Foundation. All rights reserved.