public class TestFlatten extends BaseTestQuery
BaseTestQuery.ClassicTestServices, BaseTestQuery.SilentListener, BaseTestQuery.TestResultSet| Modifier and Type | Field and Description |
|---|---|
static boolean |
RUN_ADVANCED_TESTS
enable this if you have the following files:
- /tmp/yelp_academic_dataset_business.json
- /tmp/mapkv.json
- /tmp/drill1665.json
- /tmp/bigfile.json
|
SubDirTestWatcher |
subDirTestWatcher |
allocator, bits, client, config, serviceSetc, dirTestWatcher, optionManager| Constructor and Description |
|---|
TestFlatten() |
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 boolean RUN_ADVANCED_TESTS
public final SubDirTestWatcher subDirTestWatcher
public static void initFile()
public void testFlatten_Drill2162_complex()
throws Exception
Exceptionpublic void testFlatten_Drill2162_simple()
throws Exception
Exceptionpublic void testFilterFlattenedRecords()
throws Exception
Exceptionpublic void testFilterFlattenedRecords2()
throws Exception
Exceptionpublic void flattenAndAdditionalColumn()
throws Exception
Exceptionpublic void testDistinctAggrFlattened()
throws Exception
Exceptionpublic void testFlattenComplexRepeatedMap()
throws Exception
Exceptionpublic void testFlatten2_levelRepeatedMap()
throws Exception
Exceptionpublic void testSingleFlattenFromNestedRepeatedList()
throws Exception
Exceptionpublic void testMultiFlattenFromNestedRepeatedList()
throws Exception
Exceptionpublic void testSingleMultiFlattenFromNestedRepeatedList()
throws Exception
Exceptionpublic void testMultipleFalttenWithWhereClause()
throws Exception
Exceptionpublic void testFlattenWithScalarFunc()
throws Exception
ExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.