public class TestConvertFunctions extends BaseTestQuery
BaseTestQuery.ClassicTestServices, BaseTestQuery.SilentListener, BaseTestQuery.TestResultSet
allocator, bits, client, config, serviceSet
c, dirTestWatcher, optionManager
Constructor and Description |
---|
TestConvertFunctions() |
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 static void setup()
public void testConvertFromConvertToInt() throws Exception
Exception
public void test_JSON_convertTo_empty_list_drill_1416() throws Exception
Exception
public void testConvertFromJson_drill4679() throws Exception
Exception
public void testConvertFromJson_drill4693() throws Exception
Exception
public void testConvertFromJsonNullableInput() throws Exception
Exception
public void testBigIntVarCharReturnTripConvertLogical() throws Exception
Exception
protected <T> void verifySQL(String sql, T expectedResults) throws Throwable
Throwable
protected <T> void verifyPhysicalPlan(String expression, T expectedResults) throws Throwable
Throwable
protected Object[] getRunResult(UserBitShared.QueryType queryType, String planString) throws Exception
Exception
protected <T> void verifyResults(String expression, T expectedResults, Object[] actualResults) throws Throwable
Throwable
Copyright © 2021 The Apache Software Foundation. All rights reserved.