Package io.trino.plugin.deltalake
Class DeltaLakeParquetSchemas
java.lang.Object
io.trino.plugin.deltalake.DeltaLakeParquetSchemas
Delta Lake specific utility which converts the Delta table schema to
a Parquet schema.
This utility is used instead of Hive's
ParquetSchemaConverter
in order to be able to include the field IDs in the Parquet schema.-
Method Summary
Modifier and TypeMethodDescriptioncreateParquetSchemaMapping(MetadataEntry metadataEntry, ProtocolEntry protocolEntry, TypeManager typeManager) createParquetSchemaMapping(MetadataEntry metadataEntry, ProtocolEntry protocolEntry, TypeManager typeManager, boolean addChangeDataFeedFields) createParquetSchemaMapping(String jsonSchema, TypeManager typeManager, DeltaLakeSchemaSupport.ColumnMappingMode columnMappingMode, List<String> partitionColumnNames)
-
Method Details
-
createParquetSchemaMapping
public static DeltaLakeParquetSchemaMapping createParquetSchemaMapping(MetadataEntry metadataEntry, ProtocolEntry protocolEntry, TypeManager typeManager) -
createParquetSchemaMapping
public static DeltaLakeParquetSchemaMapping createParquetSchemaMapping(MetadataEntry metadataEntry, ProtocolEntry protocolEntry, TypeManager typeManager, boolean addChangeDataFeedFields) -
createParquetSchemaMapping
public static DeltaLakeParquetSchemaMapping createParquetSchemaMapping(String jsonSchema, TypeManager typeManager, DeltaLakeSchemaSupport.ColumnMappingMode columnMappingMode, List<String> partitionColumnNames)
-