public class TestFillEmpties extends SubOperatorTest
Note that this test also has the handy side-effect of testing null handling in the accessor classes.
DrillTest.MemWatcher| Modifier and Type | Field and Description |
|---|---|
static int |
ROW_COUNT |
dirTestWatcher, fixturelogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
TestFillEmpties() |
| Modifier and Type | Method and Description |
|---|---|
void |
testBitDefaultValue() |
void |
testBitFillEmpties()
Bit vector is special; packs 8 values per byte.
|
void |
testDefaultInSchema()
Test the more typical case in which the default value is set in the
column metadata.
|
void |
testDefaultValue()
Test each vector type to ensure it supports setting a default value.
|
void |
testFillEmptiesNullable()
Test "fill empties" for nullable types which are the most
"natural" type for omitted values.
|
void |
testFillEmptiesRepeated()
Test "fill empties" for repeated types.
|
void |
testFillEmptiesRequired()
Test "fill empties" for required types.
|
void |
testInvalidDefault() |
classSetup, classTeardownescapeJsonString, finishDrillTest, initDrillTestpublic static final int ROW_COUNT
public void testFillEmptiesRequired()
public void testFillEmptiesNullable()
public void testFillEmptiesRepeated()
public void testDefaultValue()
public void testDefaultInSchema()
public void testInvalidDefault()
public void testBitFillEmpties()
public void testBitDefaultValue()
Copyright © 2021 The Apache Software Foundation. All rights reserved.