public class TestHashAggEmitOutcome extends BaseTestOpBatchEmitOutcome
PhysicalOpUnitTestBase.BatchIterator, PhysicalOpUnitTestBase.MockExecutorFragmentContext, PhysicalOpUnitTestBase.MockPhysicalOperatoremptyInputRowSet, inputContainer, inputContainerSv2, inputOutcomes, inputSchema, nonEmptyInputRowSet, outputRecordCountclasspathScan, dirTestWatcher, drillbitContext, drillConf, fragContext, opContext, opCreatorReg, operatorFixture, scanDecodeExecutor, scanExecutorc, optionManager| Constructor and Description |
|---|
TestHashAggEmitOutcome() |
| Modifier and Type | Method and Description |
|---|---|
void |
testHashAggr_NonEmptyFirst_EmptyOKEmitOutcome()
Verifies HashAggr correctness for the case where it receives non-empty batch in build schema phase followed by
empty batchs with OK and EMIT outcomes.
|
void |
testHashAggr_WithEmptyNonEmptyBatchesAndOKOutcome()
**************************************************************************************
Test validating a regular HashAggr behavior with no EMIT outcome input
**************************************************************************************
|
void |
testHashAggrEmptyBatchEmitOutcome()
Verifies that if HashAggBatch receives empty batches with OK_NEW_SCHEMA and EMIT outcome then it correctly produces
empty batches as output.
|
void |
testHashAggrEmptyBatchFollowedByNonEmptyBatchEmitOutcome() |
void |
testHashAggrMultipleEMITOutcome() |
void |
testHashAggrMultipleEmptyBatchFollowedByNonEmptyBatchEmitOutcome() |
void |
testHashAggrMultipleInputToMultipleOutputBatch() |
void |
testHashAggrMultipleInputToSingleOutputBatch() |
void |
testHashAggrMultipleOutputBatch()
Verifies that if HashAggr receives multiple non-empty record batches with EMIT outcome in between then it produces
output for those input batch correctly.
|
void |
testHashAggrNonEmptyBatchEmitOutcome()
Verifies that if HashAgg receives a RecordBatch with EMIT outcome post build schema phase then it produces
output for those input batch correctly.
|
void |
testHashAggrWithEmptyDataSet()
Test receiving just a single input batch, empty
|
void |
testHashAgrResetsAfterFirstEmitOutcome()
Verifies that if HashAggr receives multiple non-empty record batch with EMIT outcome in between then it produces
output for those input batch correctly.
|
afterTest, beforeTest, setUpBeforeClassgetJsonReadersFromBatchString, getJsonReadersFromInputFiles, getOpCreatorReg, getReaderListForJsonBatches, joinCond, legacyOpTestBuilder, mockFragmentContext, mockOpContext, opTestBuilder, ordering, parseExprs, setup, teardownclear, getLocalFileSystem, mockDrillbitContext, mockUsDateFormatSymbols, mockUtcDateTimeZone, parseExpr, setupOptionManagerpublic void testHashAggrWithEmptyDataSet()
public void testHashAggrEmptyBatchEmitOutcome()
public void testHashAggrNonEmptyBatchEmitOutcome()
public void testHashAggrEmptyBatchFollowedByNonEmptyBatchEmitOutcome()
public void testHashAggrMultipleEmptyBatchFollowedByNonEmptyBatchEmitOutcome()
public void testHashAgrResetsAfterFirstEmitOutcome()
public void testHashAggr_NonEmptyFirst_EmptyOKEmitOutcome()
public void testHashAggrMultipleOutputBatch()
public void testHashAggrMultipleEMITOutcome()
public void testHashAggrMultipleInputToSingleOutputBatch()
public void testHashAggrMultipleInputToMultipleOutputBatch()
public void testHashAggr_WithEmptyNonEmptyBatchesAndOKOutcome()
Copyright © 2022 The Apache Software Foundation. All rights reserved.