Class MetadataVersion.Constants
java.lang.Object
org.apache.drill.exec.store.parquet.metadata.MetadataVersion.Constants
- Enclosing class:
- MetadataVersion
Supported metadata versions.
Note: keep them synchronized with MetadataBase.ParquetTableMetadataBase
versions
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SortedSet<MetadataVersion>
All historical versions of the Drill metadata cache files.static final String
Version 1: Introduces parquet file metadata caching.
See DRILL-2743static final String
Version 2: Metadata cache file size is reduced.
See DRILL-4053static final String
Version 3: Difference between v3 and v2 : min/max, type_length, precision, scale, repetitionLevel, definitionLevel.
Filter pushdown for Parquet is implemented.static final String
Version 3.1: Absolute paths of files and directories are replaced with relative ones.static final String
Version 3.2: An array with the components of the field name inMetadata_V3.ColumnTypeMetadata_v3.Key
class is replaced by theSchemaPath
.
See DRILL-4264static final String
Version 3.3: Changed serialization of BINARY and FIXED_LEN_BYTE_ARRAY fields.
See DRILL-4139static final String
Version 4.0: Split the metadata cache file into summary and file metadatastatic final String
Version 4.1: Added parents' original types inMetadata_V4.ColumnTypeMetadata_v4
andMetadata_V4.ColumnMetadata_v4
static final String
Version 4.2: AddedType.Repetition
toMetadata_V4.ColumnTypeMetadata_v4
. -
Constructor Summary
-
Method Summary
-
Field Details
-
V1
Version 1: Introduces parquet file metadata caching.
See DRILL-2743- See Also:
-
V2
Version 2: Metadata cache file size is reduced.
See DRILL-4053- See Also:
-
V3
Version 3: Difference between v3 and v2 : min/max, type_length, precision, scale, repetitionLevel, definitionLevel.
Filter pushdown for Parquet is implemented.
See DRILL-1950- See Also:
-
V3_1
Version 3.1: Absolute paths of files and directories are replaced with relative ones. Metadata version value doesn't contain `v` letter
See DRILL-3867, DRILL-5660- See Also:
-
V3_2
Version 3.2: An array with the components of the field name inMetadata_V3.ColumnTypeMetadata_v3.Key
class is replaced by theSchemaPath
.
See DRILL-4264- See Also:
-
V3_3
Version 3.3: Changed serialization of BINARY and FIXED_LEN_BYTE_ARRAY fields.
See DRILL-4139- See Also:
-
V4
Version 4.0: Split the metadata cache file into summary and file metadata- See Also:
-
V4_1
Version 4.1: Added parents' original types inMetadata_V4.ColumnTypeMetadata_v4
andMetadata_V4.ColumnMetadata_v4
- See Also:
-
V4_2
Version 4.2: AddedType.Repetition
toMetadata_V4.ColumnTypeMetadata_v4
.- See Also:
-
SUPPORTED_VERSIONS
All historical versions of the Drill metadata cache files. In case of introducing a new parquet metadata version please follow theMetadataVersion.FORMAT
.
-
-
Constructor Details
-
Constants
public Constants()
-
-
Method Details
-
isVersionSupported
- Parameters:
metadataVersion
- string representation of the parquet metadata version- Returns:
- true if metadata version is supported, false otherwise
-