public class TestResultSetLoaderLimits extends SubOperatorTest
The tests here are independent of the tests for vector allocation (which does, in fact, depend on the row count) and vector overflow (which an occur when the row limit turns out to be too large.)
DrillTest.MemWatcherdirTestWatcher, fixturelogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
TestResultSetLoaderLimits() |
| Modifier and Type | Method and Description |
|---|---|
void |
testCustomRowLimit()
Verify that the caller can set a row limit lower than the default.
|
void |
testDynamicLimit()
Test that the row limit can change between batches.
|
void |
testRowLimit()
Verify that the writer stops when reaching the row limit.
|
classSetup, classTeardownescapeJsonString, finishDrillTest, initDrillTestpublic void testRowLimit()
public void testCustomRowLimit()
public void testDynamicLimit()
Copyright © 2021 The Apache Software Foundation. All rights reserved.