public class InternalSchemaUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static StructType |
convertToPhysicalSchema(StructType logicalSchema,
StructType physicalSchema,
java.lang.String columnMappingMode)
Helper method that converts the logical schema (requested by the connector) to physical
schema of the data stored in data files.
|
public static StructType convertToPhysicalSchema(StructType logicalSchema, StructType physicalSchema, java.lang.String columnMappingMode)
logicalSchema - Logical schema of the scanphysicalSchema - Physical schema of the scancolumnMappingMode - Column mapping mode