public class TestE2EUnnestAndLateral extends ClusterTest
client, cluster, dirTestWatcher
Constructor and Description |
---|
TestE2EUnnestAndLateral() |
getFile, queryBuilder, run, runAndLog, runAndPrint, runAndPrint, shutdown, startCluster, testBuilder
public void testLateral_WithLimitInSubQuery() throws Exception
Exception
public void testLateral_WithFilterInSubQuery() throws Exception
Exception
public void testLateral_WithFilterAndLimitInSubQuery() throws Exception
Exception
public void testLateral_WithTopNInSubQuery() throws Exception
Exception
public void testLateral_WithSortAndLimitInSubQuery() throws Exception
Exception
public void testLateral_WithSortInSubQuery() throws Exception
Exception
public void testOuterApply_WithFilterAndLimitInSubQuery() throws Exception
Exception
public void testLeftLateral_WithFilterAndLimitInSubQuery() throws Exception
Exception
public void testMultiUnnestAtSameLevel() throws Exception
Exception
public void testMultiUnnestAtSameLevelExec() throws Exception
Exception
public void testMultiUnnestAtSameLevelExecExplicitResult() throws Exception
Exception
public void testUnnestWithFunctionCall() throws Exception
Exception
public void testMultipleBatchesLateralQuery() throws Exception
Exception
public void testMultipleBatchesLateral_WithLimitInSubQuery() throws Exception
Exception
public void testMultipleBatchesLateral_WithTopNInSubQuery() throws Exception
Exception
public void testMultipleBatchesLateral_WithSortAndLimitInSubQuery() throws Exception
Exception
public void testMultipleBatchesLateral_WithSortInSubQuery() throws Exception
Exception
public void testMultipleBatchesLateral_WithLimitFilterInSubQuery() throws Exception
Exception
public void testSchemaChangeOnNonUnnestColumn() throws Exception
Exception
public 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.Exception
public void testSchemaChangeOnUnnestColumn() throws Exception
Exception
public void testSchemaChangeOnUnnestColumn_InMultilevelCase() throws Exception
Exception
public void testSchemaChangeOnMultipleColumns() throws Exception
Exception
public void testMultipleBatchesLateral_WithLimitInParent() throws Exception
Exception
public void testMultipleBatchesLateral_WithFilterInParent() throws Exception
Exception
public void testMultipleBatchesLateral_WithGroupByInParent() throws Exception
Exception
public void testMultipleBatchesLateral_WithOrderByInParent() throws Exception
Exception
public void testMultipleBatchesLateral_WithHashAgg() throws Exception
Exception
public void testLateral_HashAgg_with_nulls() throws Exception
Exception
public void testMultipleBatchesLateral_WithStreamingAgg() throws Exception
Exception
public void testLateral_StreamingAgg_with_nulls() throws Exception
Exception
public void testMultipleBatchesLateral_WithStreamingAggNoGroup() throws Exception
Exception
public void testUnnestNestedStarSubquery() throws Exception
Exception
public void testLateralWithComplexProject() throws Exception
Exception
Copyright © 2022 The Apache Software Foundation. All rights reserved.