public class TestScanOperExecBasics extends BaseScanOperatorExecTest
BaseScanOperatorExecTest.BaseMockBatchReader, BaseScanOperatorExecTest.BaseScanFixtureBuilder, BaseScanOperatorExecTest.MockEarlySchemaReader| Modifier and Type | Field and Description |
|---|---|
String |
ERROR_MSG |
dirTestWatcher, fixture| Constructor and Description |
|---|
TestScanOperExecBasics() |
| Modifier and Type | Method and Description |
|---|---|
void |
testExceptionOnClose() |
void |
testExceptionOnFirstNext() |
void |
testExceptionOnOpen() |
void |
testExceptionOnSecondNext()
Test throwing an exception after the first batch, but while
"reading" the second.
|
void |
testMultiEOFOnFirstBatch()
Test multiple readers, all EOF on first batch.
|
void |
testNoReader()
Pathological case that a scan operator is provided no readers.
|
void |
testUserExceptionOnClose() |
void |
testUserExceptionOnFirstNext() |
void |
testUserExceptionOnOpen() |
void |
testUserExceptionOnSecondNext() |
expectedSchema, makeExpected, makeExpected, simpleBuilder, simpleFixture, verifyBatchclassSetup, classTeardownpublic final String ERROR_MSG
public void testNoReader()
public void testExceptionOnOpen()
public void testUserExceptionOnOpen()
public void testExceptionOnFirstNext()
public void testUserExceptionOnFirstNext()
public void testExceptionOnSecondNext()
public void testUserExceptionOnSecondNext()
public void testExceptionOnClose()
public void testUserExceptionOnClose()
public void testMultiEOFOnFirstBatch()
Copyright © 2022 The Apache Software Foundation. All rights reserved.