parquet-arrow/src/main/java/org/apache/parquet/arrow/schema/SchemaConverter.java
public SchemaMapping map(Schema arrowSchema, MessageType parquetSchema) {
    List<TypeMapping> children = map(arrowSchema.getFields(), parquetSchema.getFields());
    return new SchemaMapping(arrowSchema, parquetSchema, children);
  }
public SchemaMapping map(Schema arrowSchema, MessageType parquetSchema) {
    List<TypeMapping> children = map(arrowSchema.getFields(), parquetSchema.getFields());
    return new SchemaMapping(arrowSchema, parquetSchema, children);
  }
public SchemaMapping map ( Schema arrowSchema , MessageType parquetSchema ) { List < TypeMapping > children = map ( arrowSchema . getFields ( ) , parquetSchema . getFields ( ) ) ; return new SchemaMapping ( arrowSchema , parquetSchema , children ) ; }
Maps a Parquet and Arrow Schema
For now does not validate primitive type compatibility
@param arrowSchema an Arrow schema
@param parquetSchema a Parquet message type
@return the mapping between the 2
Maps a Parquet and Arrow Schema For now does not validate primitive type compatibility