presto-hive/src/main/java/io/prestosql/plugin/hive/util/ParquetRecordWriterUtil.java/ParquetRecordWriterUtil/createParquetWriter
class ParquetRecordWriterUtil:    private static RecordWriter createParquetWriter(Path target, JobConf conf, Properties properties)
            throws IOException
    {
        if (conf.get(DataWritableWriteSupport.PARQUET_HIVE_SCHEMA) == null) {
            List<String> columnNames = Splitter.on(',').splitToList(properties.getProperty(IOConstants.COLUMNS));
            List<TypeInfo> columnTypes = getTypeInfosFromTypeString(properties.getProperty(IOConstants.COLUMNS_TYPES));
            MessageType schema = HiveSchemaConverter.convert(columnNames, columnTypes);
            setParquetSchema(conf, schema);
        }

        ParquetOutputFormat<ParquetHiveRecord> outputFormat = new ParquetOutputFormat<>(new DataWritableWriteSupport());

        return new ParquetRecordWriterWrapper(outputFormat, conf, target.toString(), Reporter.NULL, properties);
    }