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.)
dirTestWatcher, fixture| 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 |
testLimit0()
Limit 0 is used to obtain only the schema.
|
void |
testLimit1()
Pathological limit case: a single row.
|
void |
testLimit100()
Test filling one batch normally, then hitting the scan limit on the second.
|
void |
testRowLimit()
Verify that the writer stops when reaching the row limit.
|
classSetup, classTeardownpublic void testRowLimit()
public void testCustomRowLimit()
public void testDynamicLimit()
public void testLimit0()
public void testLimit1()
public void testLimit100()
Copyright © 2022 The Apache Software Foundation. All rights reserved.