public class StatisticsTest extends IndexPlanTest
BaseTestQuery.ClassicTestServices, BaseTestQuery.SilentListener, BaseTestQuery.TestResultSetDrillTest.MemWatcherSCHEMAallocator, bits, client, config, serviceSetc, dirTestWatcher, optionManagerlogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
StatisticsTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testFilters()
A sample row of this 10K table:
------------------+-----------------------------+--------+
| 1012 | {"city":"pfrrs","state":"pc"} | {"email":"KfFzKUZwNk@gmail.com","phone":"6500005471"} |
{"ssn":"100007423"} | {"fname":"KfFzK","lname":"UZwNk"} | {"age":53.0,"income":45.0} | 1012 |
This test suite generate random content to fill all the rows, since the random function always start from
the same seed for different runs, when the row count is not changed, the data in table will always be the same,
thus the query result could be predicted and verified.
|
cleanupTableIndexes, CompositeIndexCoveringPlan, CompositeIndexNonCoveringFilterWithAllFieldsPlan, CompositeIndexNonCoveringPlan, CoveringPlanWithNonIndexedField, CoveringPlanWithOnlyIndexedField, CoveringWithSimpleFieldsOnly, CTASTestTable, Intersect2indexesPlan, IntersectPlanWithOneSideNoRows, NoIndexPlanForNonIndexField, NonCoveringPlan_SortPrefix_1, NonCoveringPlan_SortPrefix_2, NonCoveringPlan, NonCoveringWithExtraConditonOnPrimary, NonCoveringWithSimpleFieldsOnly, nonIndexedColumnFilterCoveringPlan, orderByCastCoveringPlan, orderByCastNonCoveringPlan, orderByLimitCoveringPlan, orderByLimitNonCoveringPlan, orderByNonCoveringPlan, pickAnyIndexWithFTSDisabledPlan, RangeConditionIndexPlan, setupTableIndexes, testCaseSensitive, testCaseSensitiveIncludedField, TestCastINTCoveringPlan, TestCastNoIndexPlan, TestCastNonCoveringPlan, testCastTimestampPlan, TestCastVarchar_ConvertToRangePlan, TestCastVarCharCoveringPlan, TestCoveringPlanJoin_1, TestCoveringPlanJoin_2, TestCoveringPlanSortNotRemoved, TestCoveringPlanSortPrefix_1, TestCoveringPlanSortPrefix_2, TestCoveringPlanSortPrefix_3, TestCoveringPlanSortPrefix_4, TestCoveringPlanSortPrefix_5, TestCoveringPlanSortPrefix_6, TestCoveringPlanSortPrefix_7, TestCoveringPlanSortRemoved, TestCoveringPlanSortRemovedWithSimpleFields, testHangForSimpleDistinct, testHashIndexNoRemovingSort, testIncludedFieldCovering, TestIndexScanWithDescOrderByNullsFirst, TestIndexScanWithDescOrderByNullsLast, testLimit0Pushdown, testLimitPushdownCoveringPlan, testLimitPushdownNonCoveringPlan, testLimitPushdownOrderByCoveringPlan, testLimitPushdownOrderByNonCoveringPlan, TestLongerCastVarCharNoIndex, testMultiPhaseAgg, testNoFilterAndLimitOrderByCast, testNoFilterAndLimitOrderByCoveringPlan, testNoFilterGroupBy, testNoFilterGroupByCast, testNoFilterGroupByCoveringPlan, testNoFilterGroupByHashIndex, testNoFilterGroupByNoIndexMatch, testNoFilterGroupBySimpleField, testNoFilterGroupBySimpleFieldParallel, testNoFilterOrderByCast, testNoFilterOrderByCoveringPlan, testNoFilterOrderByDesc, testNoFilterOrderByHashIndex, testNoFilterOrderByNoIndexMatch, testNoFilterOrderBySimpleField, TestNonCoveringPlanSortRemoved, TestNonCoveringPlanWithNoRemoveSortOption, TestNonCoveringRangePartition_1, testNotConditionNoIndexPlan, testRemovalOfReduntantHashToMergeExchange, testRowkeyJoinPushdown_1, testRowkeyJoinPushdown_10, testRowkeyJoinPushdown_11, testRowkeyJoinPushdown_12, testRowkeyJoinPushdown_13, testRowkeyJoinPushdown_2, testRowkeyJoinPushdown_3, testRowkeyJoinPushdown_4, testRowkeyJoinPushdown_5, testRowkeyJoinPushdown_6, testRowkeyJoinPushdown_7, testRowkeyJoinPushdown_8, testRowkeyJoinPushdown_9, testTrailingFieldIndexCovering, testWithFilterGroupByformat, format, getTablePath, runHBaseSQLlWithResults, runSQLAndVerifyCount, setupDefaultTestCluster, tearDownAfterClassalterSession, cloneDefaultTestConfigProperties, closeClient, errorMsgTestHelper, getAllocator, getDrillbitContext, getFile, getPhysicalFileFromResource, getResultString, getUserPort, logResult, newTest, parseErrorHelper, printResult, resetAllSessionOptions, resetDrillbitCount, resetSessionOption, runSQL, setColumnWidth, setColumnWidths, setSessionOption, setSessionOption, setSessionOption, setSessionOption, 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 testFilters()
throws Exception
ExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.