public class TestStreamingAggEmitOutcome extends BaseTestOpBatchEmitOutcome
PhysicalOpUnitTestBase.BatchIterator, PhysicalOpUnitTestBase.MockExecutorFragmentContext, PhysicalOpUnitTestBase.MockPhysicalOperator| Modifier and Type | Field and Description |
|---|---|
protected static TupleMetadata |
resultSchema |
protected static TupleMetadata |
resultSchemaNoGroupBy |
emptyInputRowSet, inputContainer, inputContainerSv2, inputOutcomes, inputSchema, nonEmptyInputRowSet, outputRecordCountclasspathScan, dirTestWatcher, drillbitContext, drillConf, fragContext, opContext, opCreatorReg, operatorFixture, scanDecodeExecutor, scanExecutorc, optionManager| Constructor and Description |
|---|
TestStreamingAggEmitOutcome() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setUpBeforeClass2() |
void |
t1_testStreamingAggrEmptyBatchEmitOutcome()
Verifies that if StreamingAggBatch receives empty batches with OK_NEW_SCHEMA and EMIT outcome then it correctly produces
empty batches as output.
|
void |
t10_1_testStreamingAggr_InputSplitToMultipleOutputBatch() |
void |
t10_testStreamingAggrWithEmptyDataSet() |
void |
t11_testStreamingAggrEmptyBatchEmitOutcome()
Repeats t1_testStreamingAggrEmptyBatchEmitOutcome with no group by
|
void |
t12_testStreamingAggrNonEmptyBatchEmitOutcome()
Repeats t2_testStreamingAggrNonEmptyBatchEmitOutcome with no group by
|
void |
t13_testStreamingAggrEmptyBatchFollowedByNonEmptyBatchEmitOutcome()
Repeats t3_testStreamingAggrEmptyBatchFollowedByNonEmptyBatchEmitOutcome with no group by
|
void |
t14_testStreamingAggrMultipleEmptyBatchFollowedByNonEmptyBatchEmitOutcome()
Repeats t4_testStreamingAggrMultipleEmptyBatchFollowedByNonEmptyBatchEmitOutcome with no group by
|
void |
t15_testStreamingAgrResetsAfterFirstEmitOutcome()
Repeats t5_testStreamingAgrResetsAfterFirstEmitOutcome with no group by
|
void |
t16_testStreamingAggrOkFollowedByNone()
Repeats t6_testStreamingAggrOkFollowedByNone with no group by
|
void |
t17_testStreamingAggrMultipleEMITOutcome()
Repeats t7_testStreamingAggrMultipleEMITOutcome with no group by
|
void |
t18_testStreamingAggrMultipleInputToSingleOutputBatch()
Repeats t8_testStreamingAggrMultipleInputToSingleOutputBatch with no group by
|
void |
t19_testStreamingAgr_WithEmptyNonEmptyBatchesAndOKOutcome()
Repeats t9_testStreamingAgr_WithEmptyNonEmptyBatchesAndOKOutcome with no group by
|
void |
t2_testStreamingAggrNonEmptyBatchEmitOutcome()
Verifies that if StreamingAgg receives a RecordBatch with EMIT outcome post build schema phase then it produces
output for those input batch correctly.
|
void |
t20_testStreamingAggrWithEmptyDataSet()
Repeats t10_testStreamingAggrWithEmptyDataSet with no group by
|
void |
t21_testStreamingAggrRunsofEmpty_NonEmpty_Sv2()
Repeats t21_testStreamingAggrRunsofEmpty_NonEmpty_Sv2 with no group by
|
void |
t22_testStreamingAggrRunsOfEmpty_NonEmpty()
Repeats t22_testStreamingAggrRunsOfEmpty_NonEmpty with no group by
|
void |
t3_testStreamingAggrEmptyBatchFollowedByNonEmptyBatchEmitOutcome() |
void |
t4_testStreamingAggrMultipleEmptyBatchFollowedByNonEmptyBatchEmitOutcome() |
void |
t5_testStreamingAgrResetsAfterFirstEmitOutcome()
Verifies that if StreamingAggr receives multiple non-empty record batch with EMIT outcome in between then it produces
output for those input batch correctly.
|
void |
t6_testStreamingAggrOkFollowedByNone()
Verifies that if StreamingAggr receives multiple non-empty record batch with EMIT outcome in between then it produces
output for those input batch correctly.
|
void |
t7_testStreamingAggrMultipleEMITOutcome()
Normal case
|
void |
t8_1_testStreamingAggr_InputSplitToMultipleOutputBatch()
Verifies scenario where multiple incoming batches received with OK_NEW_SCHEMA, OK, OK, EMIT whose output is split
into multiple output batches is handled correctly such that first output is produced with OK_NEW_SCHEMA and then
followed by EMIT outcome
|
void |
t8_2_testStreamingAggr_Inputs_OK_EMIT_SplitToMultipleOutputBatch()
Verifies scenario where multiple incoming batches received with OK_NEW_SCHEMA, OK, OK, EMIT whose output is split
into multiple output batches and incoming batches received with OK,OK,EMIT whose output is also split across
multiple output batches is handled correctly.
|
void |
t8_testStreamingAggrMultipleInputToSingleOutputBatch() |
void |
t9_testStreamingAgr_WithEmptyNonEmptyBatchesAndOKOutcome()
Tests for validating regular StreamingAggr behavior with no EMIT outcome
|
afterTest, beforeTest, setUpBeforeClassgetJsonReadersFromBatchString, getJsonReadersFromInputFiles, getOpCreatorReg, getReaderListForJsonBatches, joinCond, legacyOpTestBuilder, mockFragmentContext, mockOpContext, opTestBuilder, ordering, parseExprs, setup, teardownclear, getLocalFileSystem, mockDrillbitContext, mockUsDateFormatSymbols, mockUtcDateTimeZone, parseExpr, setupOptionManagerprotected static TupleMetadata resultSchema
protected static TupleMetadata resultSchemaNoGroupBy
public void t1_testStreamingAggrEmptyBatchEmitOutcome()
public void t2_testStreamingAggrNonEmptyBatchEmitOutcome()
public void t3_testStreamingAggrEmptyBatchFollowedByNonEmptyBatchEmitOutcome()
public void t4_testStreamingAggrMultipleEmptyBatchFollowedByNonEmptyBatchEmitOutcome()
public void t5_testStreamingAgrResetsAfterFirstEmitOutcome()
Exceptionpublic void t6_testStreamingAggrOkFollowedByNone()
Exceptionpublic void t7_testStreamingAggrMultipleEMITOutcome()
public void t8_testStreamingAggrMultipleInputToSingleOutputBatch()
public void t8_1_testStreamingAggr_InputSplitToMultipleOutputBatch()
public void t8_2_testStreamingAggr_Inputs_OK_EMIT_SplitToMultipleOutputBatch()
public void t9_testStreamingAgr_WithEmptyNonEmptyBatchesAndOKOutcome()
public void t10_testStreamingAggrWithEmptyDataSet()
public void t10_1_testStreamingAggr_InputSplitToMultipleOutputBatch()
public void t11_testStreamingAggrEmptyBatchEmitOutcome()
public void t12_testStreamingAggrNonEmptyBatchEmitOutcome()
public void t13_testStreamingAggrEmptyBatchFollowedByNonEmptyBatchEmitOutcome()
public void t14_testStreamingAggrMultipleEmptyBatchFollowedByNonEmptyBatchEmitOutcome()
public void t15_testStreamingAgrResetsAfterFirstEmitOutcome()
public void t16_testStreamingAggrOkFollowedByNone()
public void t17_testStreamingAggrMultipleEMITOutcome()
public void t18_testStreamingAggrMultipleInputToSingleOutputBatch()
public void t19_testStreamingAgr_WithEmptyNonEmptyBatchesAndOKOutcome()
public void t20_testStreamingAggrWithEmptyDataSet()
public void t21_testStreamingAggrRunsofEmpty_NonEmpty_Sv2()
public void t22_testStreamingAggrRunsOfEmpty_NonEmpty()
Copyright © 2022 The Apache Software Foundation. All rights reserved.