public class TestFileScanFramework extends SubOperatorTest
| Modifier and Type | Class and Description |
|---|---|
static class |
TestFileScanFramework.DummyFileWork
For schema-based testing, we only need the file path from the file work.
|
static class |
TestFileScanFramework.FileScanFixtureBuilder |
static class |
TestFileScanFramework.MockFileReaderFactory
Mock file reader that returns readers already created for specific
test cases.
|
DrillTest.MemWatcherdirTestWatcher, fixturelogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
TestFileScanFramework() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copyFile() |
void |
testEmptyProject() |
void |
testFullProject()
Exercise the major project operations: subset of table
columns, implicit, partition, missing columns, and output
order (and positions) different than table.
|
void |
testLateSchemaFileWildcards() |
void |
testMapProject() |
void |
testMetadataColumns()
Basic sanity test of a couple of implicit columns, along
with all table columns in table order.
|
classSetup, classTeardownescapeJsonString, finishDrillTest, initDrillTestpublic static void copyFile()
throws IOException
IOExceptionpublic void testLateSchemaFileWildcards()
public void testMetadataColumns()
public void testFullProject()
public void testEmptyProject()
public void testMapProject()
Copyright © 2021 The Apache Software Foundation. All rights reserved.