public static class MetadataVersion.Constants extends Object
Note: keep them synchronized with MetadataBase.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_V3.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 |
static String |
V4
Version 4.0: Split the metadata cache file into summary and file metadata
|
static String |
V4_1
Version 4.1: Added parents' original types in
Metadata_V4.ColumnTypeMetadata_v4
and Metadata_V4.ColumnMetadata_v4 |
static String |
V4_2
Version 4.2: Added
Type.Repetition to Metadata_V4.ColumnTypeMetadata_v4 . |
Constructor and Description |
---|
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_V3.ColumnTypeMetadata_v3.Key
class is replaced by the SchemaPath
.public static final String V3_3
public static final String V4
public static final String V4_1
Metadata_V4.ColumnTypeMetadata_v4
and Metadata_V4.ColumnMetadata_v4
public static final String V4_2
Type.Repetition
to Metadata_V4.ColumnTypeMetadata_v4
.public static final SortedSet<MetadataVersion> SUPPORTED_VERSIONS
MetadataVersion.FORMAT
.public static boolean isVersionSupported(String metadataVersion)
metadataVersion
- string representation of the parquet metadata versionCopyright © 1970 The Apache Software Foundation. All rights reserved.