public class TestScanOperExecLimit extends BaseScanOperatorExecTest
| Modifier and Type | Class and Description |
|---|---|
protected static class |
TestScanOperExecLimit.Mock50RowReader
Mock reader that returns two 50-row batches.
|
BaseScanOperatorExecTest.BaseMockBatchReader, BaseScanOperatorExecTest.BaseScanFixtureBuilder, BaseScanOperatorExecTest.MockEarlySchemaReaderdirTestWatcher, fixture| Constructor and Description |
|---|
TestScanOperExecLimit() |
| Modifier and Type | Method and Description |
|---|---|
void |
testLimit0()
LIMIT 0, to obtain only the schema.
|
void |
testLimit1()
LIMIT 1, simplest case
|
void |
testLimitOnBatchEnd()
LIMIT 50, same as batch size, to check boundary conditions.
|
void |
testLimitOnEOF()
LIMIT 100, at EOF of the first reader.
|
void |
testLimitOnScondBatch()
LIMIT 75, halfway through second batch.
|
void |
testLimitOnSecondReader()
LIMIT 125: full first reader, limit on second
|
expectedSchema, makeExpected, makeExpected, simpleBuilder, simpleFixture, verifyBatchclassSetup, classTeardownpublic void testLimit0()
public void testLimit1()
public void testLimitOnBatchEnd()
public void testLimitOnScondBatch()
public void testLimitOnEOF()
public void testLimitOnSecondReader()
Copyright © 2022 The Apache Software Foundation. All rights reserved.