public class TestScanOperExecLateSchema extends BaseScanOperatorExecTest
BaseScanOperatorExecTest.BaseMockBatchReader, BaseScanOperatorExecTest.BaseScanFixtureBuilder, BaseScanOperatorExecTest.MockEarlySchemaReaderdirTestWatcher, fixture| Constructor and Description |
|---|
TestScanOperExecLateSchema() |
| Modifier and Type | Method and Description |
|---|---|
void |
testLateSchemaDataOnFirst() |
void |
testLateSchemaEarlyClose()
Test the case that a late scan operator is closed before
the first reader is opened.
|
void |
testLateSchemaEarlyCloseWithData()
Test the case that a late schema reader is closed before
consuming the look-ahead batch used to infer schema.
|
void |
testLateSchemaEarlyReaderClose()
Test the case that a late schema reader is closed after discovering
schema, before any calls to next().
|
void |
testLateSchemaLifecycle()
Most basic test of a reader that discovers its schema as it goes along.
|
void |
testLateSchemaLifecycleNoFile()
Test a late-schema source that has no file information.
|
void |
testLateSchemaLifecycleNoSchemaBatch() |
void |
testLateSchemaNoData() |
void |
testNonEmptyFirstBatch()
Test the case where the reader does not play the "first batch contains
only schema" game, and instead returns data.
|
expectedSchema, makeExpected, makeExpected, simpleBuilder, simpleFixture, verifyBatchclassSetup, classTeardownpublic void testLateSchemaLifecycle()
public void testLateSchemaLifecycleNoSchemaBatch()
public void testLateSchemaEarlyClose()
public void testLateSchemaEarlyReaderClose()
public void testLateSchemaEarlyCloseWithData()
public void testLateSchemaLifecycleNoFile()
public void testLateSchemaNoData()
public void testLateSchemaDataOnFirst()
public void testNonEmptyFirstBatch()
Copyright © 2022 The Apache Software Foundation. All rights reserved.