public class TestCastFunctions extends BaseTestQuery
BaseTestQuery.ClassicTestServices, BaseTestQuery.SilentListener, BaseTestQuery.TestResultSet
Modifier and Type | Field and Description |
---|---|
ExpectedException |
thrown |
allocator, bits, client, config, serviceSet
c, dirTestWatcher, optionManager
Constructor and Description |
---|
TestCastFunctions() |
alterSession, cloneDefaultTestConfigProperties, closeClient, errorMsgTestHelper, getAllocator, getDrillbitContext, getFile, getPhysicalFileFromResource, getResultString, getUserPort, logResult, newTest, parseErrorHelper, printResult, 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, getTempDir, mockDrillbitContext, mockUsDateFormatSymbols, mockUtcDateTimeZone, parseExpr, setupOptionManager
public void testImplicitCastStringToBoolean() throws Exception
Exception
public void testCastByConstantFolding() throws Exception
Exception
public void testCastIntToFloatAndDouble() throws Exception
Exception
public void testCastBigIntToFloatAndDouble() throws Exception
Exception
public void testCastIntAndBigIntToDecimal() throws Exception
Exception
public void testCastDecimalToIntAndBigInt() throws Exception
Exception
public void testCastDecimalToFloatAndDouble() throws Exception
Exception
public void testCastDecimalToVarDecimal() throws Exception
Exception
public void testCastVarDecimalToDecimal() throws Exception
Exception
public void testCastNegativeFloatToInt() throws Exception
Exception
public void testCastNegativeDecimalToVarChar() throws Exception
Exception
public void testCastDecimalZeroPrecision() throws Exception
Exception
public void testCastDecimalGreaterScaleThanPrecision() throws Exception
Exception
public void testCastIntDecimalOverflow() throws Exception
Exception
public void testCastBigIntDecimalOverflow() throws Exception
Exception
public void testCastFloatDecimalOverflow() throws Exception
Exception
public void testCastDoubleDecimalOverflow() throws Exception
Exception
Copyright © 2018 The Apache Software Foundation. All rights reserved.