public static class MetadataVersion.Constants extends Object
Note: keep them synchronized with Metadata.ParquetTableMetadataBase versions
| Modifier and Type | Field and Description |
|---|---|
static SortedSet<MetadataVersion> |
SUPPORTED_VERSIONS
All historical versions of the Drill metadata cache files.
|
static String |
V1
Version 1: Introduces parquet file metadata caching.
See DRILL-2743 |
static String |
V2
Version 2: Metadata cache file size is reduced.
See DRILL-4053 |
static String |
V3
Version 3: Difference between v3 and v2 : min/max, type_length, precision, scale, repetitionLevel, definitionLevel.
Filter pushdown for Parquet is implemented. |
static String |
V3_1
Version 3.1: Absolute paths of files and directories are replaced with relative ones.
|
static String |
V3_2
Version 3.2: An array with the components of the field name in
Metadata.ColumnTypeMetadata_v3.Key class is replaced by the SchemaPath.See DRILL-4264 |
static String |
V3_3
Version 3.3: Changed serialization of BINARY and FIXED_LEN_BYTE_ARRAY fields.
See DRILL-4139 |
| Constructor and Description |
|---|
MetadataVersion.Constants() |
public static final String V1
public static final String V2
public static final String V3
public static final String V3_1
public static final String V3_2
Metadata.ColumnTypeMetadata_v3.Key class is replaced by the SchemaPath.public static final String V3_3
public static final SortedSet<MetadataVersion> SUPPORTED_VERSIONS
MetadataVersion.FORMAT.public static boolean isVersionSupported(String metadataVersion)
metadataVersion - string representation of the parquet metadata versionCopyright © 2017 The Apache Software Foundation. All rights reserved.