public class TestScanSchemaTrackerMaps extends BaseTest
| Constructor and Description |
|---|
TestScanSchemaTrackerMaps() |
| Modifier and Type | Method and Description |
|---|---|
void |
testDynamicMapWithDefinedSchema() |
void |
testDynamicMapWithStrictSchema() |
void |
testGenericAndSpecificMap()
Test a map projected with the map name and a specific
column:
`m`.`x`, `m`. |
void |
testGenericMap()
Test a map projected with just the map name:
`m`. |
void |
testGenericMapWithDefinedSchema()
Test a generic map with a defined schema.
|
void |
testGenericMapWithDynamicSchema() |
void |
testGenericMapWithLenientProvidedSchema()
Test a generic map with a lenient provided schema.
|
void |
testGenericMapWithStrictProvidedSchema()
Test a generic map with a strict provided schema.
|
void |
testGenericMapWithStrictSchema()
Test a generic map column (
m.x) with a defined schema. |
void |
testMapProjectionMismatchLength()
When a defined schema is given, the map projection list
must match the defined schema.
|
void |
testMapProjectionMismatchMembers()
When a defined schema is given, the map projection list
must match the defined schema.
|
void |
testMapWithWildcard() |
void |
testMapWithWildcardNoSchemaChange() |
void |
testSpecificMap()
Test a specific map column,
`m`.`x`, with no schema. |
void |
testSpecificMapSubset() |
void |
testSpecificMapWithDefinedSchema()
Test a specific map column (
m.x) with a defined schema. |
void |
testSpecificMapWithLenientProvidedSchema()
Test a specific map column (
m.x) with a lenient
provided schema. |
void |
testSpecificMapWithStrictProvidedSchema()
Test a specific map column (
m.x) with a strict
provided schema. |
void |
testTwoLevelGenericMap() |
public void testGenericMap()
`m`.public void testGenericAndSpecificMap()
`m`.`x`, `m`. The map is generic: the entire
map is projected.public void testTwoLevelGenericMap()
public void testMapWithWildcard()
public void testMapWithWildcardNoSchemaChange()
public void testSpecificMap()
`m`.`x`, with no schema.public void testSpecificMapSubset()
public void testGenericMapWithLenientProvidedSchema()
public void testGenericMapWithStrictProvidedSchema()
public void testGenericMapWithDefinedSchema()
public void testSpecificMapWithLenientProvidedSchema()
m.x) with a lenient
provided schema. The schema can include columns other than
the specific one, but only the specific one will be projected.
Note that the projection list, not the provided schema, constrains
projection in this case.public void testSpecificMapWithStrictProvidedSchema()
m.x) with a strict
provided schema. The schema can include columns other than
the specific one, but only the specific one will be projected.public void testSpecificMapWithDefinedSchema()
m.x) with a defined schema.
The defined schema must exactly match the projection list (because
it should have been computed from that list.)public void testDynamicMapWithDefinedSchema()
public void testGenericMapWithStrictSchema()
m.x) with a defined schema.
The defined schema must exactly match the projection list (because
it should have been computed from that list.)public void testDynamicMapWithStrictSchema()
public void testGenericMapWithDynamicSchema()
public void testMapProjectionMismatchLength()
public void testMapProjectionMismatchMembers()
Copyright © 2021 The Apache Software Foundation. All rights reserved.