public class TestSimpleCastFunctions extends BaseTestQuery
BaseTestQuery.ClassicTestServices, BaseTestQuery.SilentListener, BaseTestQuery.TestResultSet
allocator, bits, client, config, serviceSet
c, dirTestWatcher, optionManager
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, updateTestCluster
clear, getLocalFileSystem, mockDrillbitContext, mockUsDateFormatSymbols, mockUtcDateTimeZone, parseExpr, setupOptionManager
public void testCastFromBooleanToString() throws Exception
Exception
public void testCastStringToBooleanTrueValue() throws Exception
Exception
public void testCastStringToBooleanFalseValue() throws Exception
Exception
public void testCastNumericToBooleanTrueValue() throws Exception
Exception
public void testCastNumericToBooleanFalseValue() throws Exception
Exception
public void testIncorrectStringBoolean() throws Exception
Exception
public void testIncorrectNumericBoolean() throws Exception
Exception
public void testNullableDecimalConstantCast() throws Exception
Exception
Copyright © 2022 The Apache Software Foundation. All rights reserved.