public class TestDateFunctions extends PopUnitTestBase
DrillTest.MemWatcherCONFIGc, dirTestWatcher, optionManagerlogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
TestDateFunctions() |
| Modifier and Type | Method and Description |
|---|---|
void |
testAge() |
void |
testCommon(String[] expectedResults,
String physicalPlan,
String resourceFile) |
void |
testDateDifferenceArithmetic() |
void |
testDateIntervalArithmetic() |
void |
testIntervalArithmetic() |
void |
testToChar() |
void |
testToDateType() |
getFragmentCount, getRootFragment, getRootFragmentFromPlanString, setupclear, getLocalFileSystem, mockDrillbitContext, mockUsDateFormatSymbols, mockUtcDateTimeZone, parseExpr, setupOptionManagerescapeJsonString, finishDrillTest, initDrillTestpublic void testCommon(String[] expectedResults, String physicalPlan, String resourceFile) throws Exception
Exceptionpublic void testDateIntervalArithmetic()
throws Exception
Exceptionpublic void testDateDifferenceArithmetic()
throws Exception
ExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.