public class TestSimpleCastFunctions extends BaseTestQuery
BaseTestQuery.ClassicTestServices, BaseTestQuery.SilentListener, BaseTestQuery.TestResultSetDrillTest.MemWatcherallocator, bits, client, config, serviceSetc, dirTestWatcher, optionManagerlogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
TestSimpleCastFunctions() |
| Modifier and Type | Method and Description |
|---|---|
void |
testCastFromBooleanToString() |
void |
testCastNullToBoolean() |
void |
testCastNumericToBooleanFalseValue() |
void |
testCastNumericToBooleanTrueValue() |
void |
testCastStringToBooleanFalseValue() |
void |
testCastStringToBooleanTrueValue() |
void |
testDecimalCastAsVariable() |
void |
testDecimalConstantCast() |
void |
testIncorrectNumericBoolean() |
void |
testIncorrectStringBoolean() |
void |
testNullableDecimalConstantCast() |
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, updateTestClusterclear, getLocalFileSystem, mockDrillbitContext, mockUsDateFormatSymbols, mockUtcDateTimeZone, parseExpr, setupOptionManagerescapeJsonString, finishDrillTest, initDrillTestpublic void testCastFromBooleanToString()
throws Exception
Exceptionpublic void testCastStringToBooleanTrueValue()
throws Exception
Exceptionpublic void testCastStringToBooleanFalseValue()
throws Exception
Exceptionpublic void testCastNumericToBooleanTrueValue()
throws Exception
Exceptionpublic void testCastNumericToBooleanFalseValue()
throws Exception
Exceptionpublic void testIncorrectStringBoolean()
throws Exception
Exceptionpublic void testIncorrectNumericBoolean()
throws Exception
Exceptionpublic void testNullableDecimalConstantCast()
throws Exception
ExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.