public class ImplicitColumnResolver extends Object
Lifecycle:
Assumes that the partition count is fixed at runtime; that it is determined at plan time and provided in the plan. This ensures that the schema is stable across readers: even a reader at the top-most partition will produce columns for all partitions if using legacy mode wildcard expansion.
| Modifier and Type | Class and Description |
|---|---|
static class |
ImplicitColumnResolver.ImplicitColumnOptions |
static class |
ImplicitColumnResolver.ParseResult
The result of scanning the scan output schema to identify implicit and
partition columns.
|
| Modifier and Type | Field and Description |
|---|---|
static TypeProtos.MajorType |
IMPLICIT_COL_TYPE |
static TypeProtos.MajorType |
OPTIONAL_INTERNAL_COL_TYPE |
static TypeProtos.MajorType |
PARTITION_COL_TYPE |
| Constructor and Description |
|---|
ImplicitColumnResolver(ImplicitColumnResolver.ImplicitColumnOptions options,
CustomErrorContext errorContext) |
| Modifier and Type | Method and Description |
|---|---|
ImplicitColumnResolver.ParseResult |
parse(ScanSchemaTracker tracker) |
String |
partitionName(int partition) |
public static final TypeProtos.MajorType IMPLICIT_COL_TYPE
public static final TypeProtos.MajorType PARTITION_COL_TYPE
public static final TypeProtos.MajorType OPTIONAL_INTERNAL_COL_TYPE
public ImplicitColumnResolver(ImplicitColumnResolver.ImplicitColumnOptions options, CustomErrorContext errorContext)
public ImplicitColumnResolver.ParseResult parse(ScanSchemaTracker tracker)
public String partitionName(int partition)
Copyright © 2021 The Apache Software Foundation. All rights reserved.