public class TestE2EUnnestAndLateral extends ClusterTest
DrillTest.MemWatcherclient, cluster, dirTestWatcherlogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
TestE2EUnnestAndLateral() |
getFile, queryBuilder, run, runAndLog, runAndPrint, runAndPrint, shutdown, startCluster, testBuilderescapeJsonString, finishDrillTest, initDrillTestpublic void testLateral_WithLimitInSubQuery()
throws Exception
Exceptionpublic void testLateral_WithFilterInSubQuery()
throws Exception
Exceptionpublic void testLateral_WithFilterAndLimitInSubQuery()
throws Exception
Exceptionpublic void testLateral_WithTopNInSubQuery()
throws Exception
Exceptionpublic void testLateral_WithSortAndLimitInSubQuery()
throws Exception
Exceptionpublic void testLateral_WithSortInSubQuery()
throws Exception
Exceptionpublic void testOuterApply_WithFilterAndLimitInSubQuery()
throws Exception
Exceptionpublic void testLeftLateral_WithFilterAndLimitInSubQuery()
throws Exception
Exceptionpublic void testMultiUnnestAtSameLevel()
throws Exception
Exceptionpublic void testMultiUnnestAtSameLevelExec()
throws Exception
Exceptionpublic void testMultiUnnestAtSameLevelExecExplicitResult()
throws Exception
Exceptionpublic void testUnnestWithFunctionCall()
throws Exception
Exceptionpublic void testMultipleBatchesLateralQuery()
throws Exception
Exceptionpublic void testMultipleBatchesLateral_WithLimitInSubQuery()
throws Exception
Exceptionpublic void testMultipleBatchesLateral_WithTopNInSubQuery()
throws Exception
Exceptionpublic void testMultipleBatchesLateral_WithSortAndLimitInSubQuery()
throws Exception
Exceptionpublic void testMultipleBatchesLateral_WithSortInSubQuery()
throws Exception
Exceptionpublic void testMultipleBatchesLateral_WithLimitFilterInSubQuery()
throws Exception
Exceptionpublic void testSchemaChangeOnNonUnnestColumn()
throws Exception
Exceptionpublic void testSchemaChangeOnNonUnnestColumn_InMultilevelCase()
throws Exception
testSchemaChangeOnNonUnnestColumn() because with
multilevel when the first Lateral see's a schema change it creates a new batch with new vector references. Hence
the second lateral will receive a new incoming with new vector references with OK_NEW_SCHEMA outcome. Now even
though there is schema change for non-unnest column the second Unnest has to again setup it's transfer pairs since
vector reference for unnest field has changed for second Unnest.
Whereas in other test since there is only 1 Lateral followed by Scan, the incoming for lateral which has
schema change will be handled by Scan in such a way that it only updates vector of affected column. Hence in this
case vector corresponding to unnest field will not be affected and it will work fine.Exceptionpublic void testSchemaChangeOnUnnestColumn()
throws Exception
Exceptionpublic void testSchemaChangeOnUnnestColumn_InMultilevelCase()
throws Exception
Exceptionpublic void testSchemaChangeOnMultipleColumns()
throws Exception
Exceptionpublic void testMultipleBatchesLateral_WithLimitInParent()
throws Exception
Exceptionpublic void testMultipleBatchesLateral_WithFilterInParent()
throws Exception
Exceptionpublic void testMultipleBatchesLateral_WithGroupByInParent()
throws Exception
Exceptionpublic void testMultipleBatchesLateral_WithOrderByInParent()
throws Exception
Exceptionpublic void testMultipleBatchesLateral_WithHashAgg()
throws Exception
Exceptionpublic void testLateral_HashAgg_with_nulls()
throws Exception
Exceptionpublic void testMultipleBatchesLateral_WithStreamingAgg()
throws Exception
Exceptionpublic void testLateral_StreamingAgg_with_nulls()
throws Exception
Exceptionpublic void testMultipleBatchesLateral_WithStreamingAggNoGroup()
throws Exception
Exceptionpublic void testUnnestNestedStarSubquery()
throws Exception
Exceptionpublic void testLateralWithComplexProject()
throws Exception
ExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.