public class TestScanOperExecSmoothing extends BaseScanOperatorExecTest
BaseScanOperatorExecTest.BaseMockBatchReader, BaseScanOperatorExecTest.BaseScanFixtureBuilder, BaseScanOperatorExecTest.MockEarlySchemaReaderDrillTest.MemWatcherdirTestWatcher, fixturelogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
TestScanOperExecSmoothing() |
| Modifier and Type | Method and Description |
|---|---|
void |
testSchemaChange()
Multiple readers with a schema change between them.
|
void |
testSchemaChangeNoSchemaBatch() |
void |
testSchemaSmoothing()
Test the ability of the scan operator to "smooth" out schema changes
by reusing the type from a previous reader, if known.
|
expectedSchema, makeExpected, makeExpected, simpleBuilder, simpleFixture, verifyBatchclassSetup, classTeardownescapeJsonString, finishDrillTest, initDrillTestpublic void testSchemaChange()
public void testSchemaChangeNoSchemaBatch()
public void testSchemaSmoothing()
Full testing of smoothing is done in {#link TestScanProjector}. Here we just make sure that the smoothing logic is available via the scan operator.
Copyright © 2021 The Apache Software Foundation. All rights reserved.