public class TestEmptyInputSql extends BaseTestQuery
BaseTestQuery.ClassicTestServices, BaseTestQuery.SilentListener, BaseTestQuery.TestResultSetallocator, bits, client, config, serviceSetc, dirTestWatcher, optionManager| Constructor and Description |
|---|
TestEmptyInputSql() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setupTestFiles() |
void |
testEmptyDirectory() |
void |
testEmptyDirectoryAndFieldInQuery() |
void |
testEmptyDirectoryPlanSerDe() |
void |
testQueryConstExprEmptyJson()
Test with query against an empty file.
|
void |
testQueryEmptyCsv()
Test select * against empty csv file.
|
void |
testQueryEmptyCsvH()
Test select * against empty csv with empty header.
|
void |
testQueryEmptyJson()
Test with query against an empty file.
|
void |
testQueryMapArrayEmptyJson() |
void |
testQueryQualifiedStarColEmptyJson()
Test with query against an empty file.
|
void |
testQueryStarColEmptyJson()
Test with query against an empty file.
|
void |
testRenameProjectEmptyDirectory() |
void |
testRenameProjectEmptyJson() |
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, setupOptionManagerpublic static void setupTestFiles()
public void testQueryEmptyJson()
throws Exception
regular column "key" is assigned with nullable-int expression "key + 100" is materialized with nullable-int as output type.
Exceptionpublic void testQueryStarColEmptyJson()
throws Exception
Exceptionpublic void testQueryQualifiedStarColEmptyJson()
throws Exception
Exceptionpublic void testQueryMapArrayEmptyJson()
throws Exception
Exceptionpublic void testQueryConstExprEmptyJson()
throws Exception
Exceptionpublic void testQueryEmptyCsvH()
throws Exception
Exceptionpublic void testQueryEmptyCsv()
throws Exception
Exceptionpublic void testEmptyDirectoryAndFieldInQuery()
throws Exception
Exceptionpublic void testRenameProjectEmptyDirectory()
throws Exception
Exceptionpublic void testRenameProjectEmptyJson()
throws Exception
ExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.