presto-parquet/src/main/java/io/prestosql/parquet/ParquetTypeUtils.java/ParquetTypeUtils/getColumns
class ParquetTypeUtils:    public static List<PrimitiveColumnIO> getColumns(MessageType fileSchema, MessageType requestedSchema)
    {
        return (new ColumnIOFactory()).getColumnIO(requestedSchema, fileSchema, true).getLeaves();
    }