public class TestTupleProjection extends BaseTest
These tests should verify everything about (runtime) projection parsing; the only bits not tested here is that which is inherently specific to some use case.
| Constructor and Description |
|---|
TestTupleProjection() |
| Modifier and Type | Method and Description |
|---|---|
void |
testArray() |
void |
testArrayAndMap()
Projection does not enforce semantics; it just report what it
sees.
|
void |
testArrayAndSimple() |
void |
testArrayDupsIgnored()
Duplicate array entries are allowed to handle the
use case of a[1], a[1].z.
|
void |
testMap2DArray() |
void |
testMapAndArray() |
void |
testMapArray() |
void |
testMapDetails() |
void |
testMapDups()
Duplicate column names are merged for projection.
|
void |
testMultiDimArray() |
void |
testProjectionAll()
Null map means everything is projected
|
void |
testProjectionMapAndSimple()
Project both a map member and the entire map.
|
void |
testProjectionMapAndWildcard()
Project both a map member and the entire map.
|
void |
testProjectionMapSubset()
Selected map projection, multiple levels, full projection
at leaf level.
|
void |
testProjectionNone()
Test an empty projection which occurs in a
SELECT COUNT(*) query.
|
void |
testProjectionSimple()
Simple non-map columns
|
void |
testProjectionSimpleAndMap()
Project both an entire map and a map member.
|
void |
testProjectionWholeMap()
Whole-map projection (note, fully projected maps are
identical to projected simple columns at this level of
abstraction.)
|
void |
testProjectionWildcardAndMap()
Project both an entire map and a map member.
|
void |
testSimpleAndArray() |
void |
testSimpleDups()
The projection set does not enforce uniqueness.
|
void |
testWildcard()
SELECT * means everything is projected
|
public void testProjectionAll()
public void testWildcard()
public void testProjectionNone()
public void testProjectionSimple()
public void testSimpleDups()
public void testProjectionWholeMap()
public void testProjectionMapSubset()
public void testProjectionMapAndSimple()
public void testProjectionSimpleAndMap()
public void testProjectionMapAndWildcard()
public void testProjectionWildcardAndMap()
public void testMapDetails()
public void testMapDups()
public void testArray()
public void testMultiDimArray()
public void testArrayDupsIgnored()
public void testArrayAndSimple()
public void testSimpleAndArray()
public void testMapArray()
public void testMap2DArray()
public void testArrayAndMap()
public void testMapAndArray()
Copyright © 2021 The Apache Software Foundation. All rights reserved.