public class TestHashAggrSpill
extends DrillTest
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_ROW_COUNT |
BaseDirTestWatcher |
dirTestWatcher |
| Constructor and Description |
|---|
TestHashAggrSpill() |
| Modifier and Type | Method and Description |
|---|---|
void |
testHashAggrFailWithFallbackDisabed()
Test with the "fallback" option disabled: When not enough memory available
to allow spilling, then fail (Resource error) !!
|
void |
testHashAggrSecondaryTertiarySpill()
Test Secondary and Tertiary spill cycles - Happens when some of the spilled
partitions cause more spilling as they are read back
|
void |
testHashAggrSuccessWithFallbackEnabled()
Test with the "fallback" option ON: When not enough memory is available to
allow spilling (internally need enough memory to create multiple
partitions), then behave like the pre-1.11 Hash Aggregate: Allocate
unlimited memory, no spill.
|
void |
testNoPredictHashAggrSpill()
Test with "needed memory" prediction turned off
(i.e., exercise code paths that catch OOMs from the Hash Table and recover)
|
void |
testSimpleHashAggrSpill()
Test "normal" spilling: Only 2 (or 3) partitions (out of 4) would require spilling
("normal spill" means spill-cycle = 1 )
|
public static final int DEFAULT_ROW_COUNT
public final BaseDirTestWatcher dirTestWatcher
public void testSimpleHashAggrSpill()
throws Exception
Exceptionpublic void testNoPredictHashAggrSpill()
throws Exception
Exceptionpublic void testHashAggrSecondaryTertiarySpill()
throws Exception
Exceptionpublic void testHashAggrFailWithFallbackDisabed()
throws Exception
Exceptionpublic void testHashAggrSuccessWithFallbackEnabled()
throws Exception
ExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.