public class TestSchemaTrackerInputSchema extends BaseTestSchemaTracker
In most cases, an early reader schema, by itself, works the same
as a provided schema: both are a way of providing type information
before any data is seen. There are subtle differences explored
here and in TestSchemaTrackerEarlyReaderSchema.
ERROR_CONTEXT, MAP_SCHEMA, MOCK_PROP, MOCK_VALUE, NESTED_MAP_SCHEMA, SCHEMA| Constructor and Description |
|---|
TestSchemaTrackerInputSchema() |
| Modifier and Type | Method and Description |
|---|---|
void |
testEmpty() |
void |
testEmptyWithMap() |
void |
testGenericAndSpecificMap()
Projection of whole map and one column, the map
column accepts new reader columns.
|
void |
testGenericAndSpecificMapReorder() |
void |
testGenericAndSpecificNestedMap() |
void |
testGenericMap()
Test a map projected with just the map name:
`m`. |
void |
testGenericNestedMap() |
void |
testMapDisjointSet() |
void |
testMapSubset() |
void |
testNestedMapDisjointSet() |
void |
testNestedMapSubset() |
void |
testProvidedArrayProjectConflict() |
void |
testProvidedArrayProjectConflictInMap() |
void |
testProvidedMapProjectConflict() |
void |
testProvidedMapProjectConflictInMap() |
void |
testReaderArrayProjectConflict() |
void |
testReaderArrayProjectConflictInMap() |
void |
testReaderMapProjectConflict() |
void |
testReaderMapProjectConflictInMap() |
void |
testSpecialWithWildcard() |
void |
testSpecificMap()
Test a map with members projected in the same order as the
provided schema.
|
void |
testSpecificNestedMap1() |
void |
testSpecificNestedMap2() |
void |
testStrictSubsetWithMap()
Strict schema projecting the whole map: the map does not allow the
reader to add members.
|
void |
testStrictWithWildcard() |
void |
testStrictWithWildcardWithMap()
Strict schema with a map and a wildcard: neither the top level
nor the map allow the reader to add members.
|
void |
testSubsetWithMap()
Lenient schema projecting the whole map: the map allows the
reader to add members.
|
void |
testSubsetWithNestedMap() |
void |
testWithExplicit() |
void |
testWithExplicitReorder() |
void |
testWithWildcard() |
void |
testWithWildcardAndCols()
Drill will provide a project list that includes both a wildcard
and column names if the columns are implicit.
|
void |
testWithWildcardWithMap()
Lenient schema with a map and a wildcard: both the top level
and the map allow the reader to add members.
|
void |
testWithWildcardWithNestedMap() |
trackerForpublic void testEmpty()
public void testWithWildcard()
public void testStrictWithWildcard()
public void testSpecialWithWildcard()
public void testWithWildcardAndCols()
public void testWithExplicit()
public void testWithExplicitReorder()
public void testProvidedMapProjectConflict()
public void testReaderMapProjectConflict()
public void testProvidedArrayProjectConflict()
public void testReaderArrayProjectConflict()
public void testEmptyWithMap()
public void testWithWildcardWithMap()
public void testStrictWithWildcardWithMap()
public void testGenericMap()
`m`.
Expands the the full map.public void testSpecificMap()
public void testGenericAndSpecificMap()
public void testSubsetWithMap()
public void testStrictSubsetWithMap()
public void testMapSubset()
public void testMapDisjointSet()
public void testGenericAndSpecificMapReorder()
public void testProvidedMapProjectConflictInMap()
public void testReaderMapProjectConflictInMap()
public void testProvidedArrayProjectConflictInMap()
public void testReaderArrayProjectConflictInMap()
public void testWithWildcardWithNestedMap()
public void testGenericNestedMap()
public void testSpecificNestedMap1()
public void testSpecificNestedMap2()
public void testGenericAndSpecificNestedMap()
public void testSubsetWithNestedMap()
public void testNestedMapSubset()
public void testNestedMapDisjointSet()
Copyright © 2021 The Apache Software Foundation. All rights reserved.