public class TestHashAggEmitOutcome extends BaseTestOpBatchEmitOutcome
PhysicalOpUnitTestBase.BatchIterator, PhysicalOpUnitTestBase.MockExecutorFragmentContext, PhysicalOpUnitTestBase.MockPhysicalOperator
emptyInputRowSet, inputContainer, inputContainerSv2, inputOutcomes, inputSchema, nonEmptyInputRowSet, outputRecordCount
classpathScan, dirTestWatcher, drillbitContext, drillConf, fragContext, opContext, opCreatorReg, operatorFixture, scanDecodeExecutor, scanExecutor
c, 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, setUpBeforeClass
getJsonReadersFromBatchString, getJsonReadersFromInputFiles, getOpCreatorReg, getReaderListForJsonBatches, joinCond, legacyOpTestBuilder, mockFragmentContext, mockOpContext, opTestBuilder, ordering, parseExprs, setup, teardown
clear, getLocalFileSystem, mockDrillbitContext, mockUsDateFormatSymbols, mockUtcDateTimeZone, parseExpr, setupOptionManager
public 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.