presto-hive/src/main/java/io/prestosql/plugin/hive/util/TempFileWriter.java/TempFileWriter/createOrcFileWriter
class TempFileWriter:    private static OrcWriter createOrcFileWriter(OrcDataSink sink, List<Type> types)
    {
        List<String> columnNames = IntStream.range(0, types.size())
                .mapToObj(String::valueOf)
                .collect(toImmutableList());

        return new OrcWriter(
                sink,
                columnNames,
                types,
                LZ4,
                new OrcWriterOptions()
                        .withMaxStringStatisticsLimit(new DataSize(0, BYTE))
                        .withStripeMinSize(new DataSize(64, MEGABYTE))
                        .withDictionaryMaxMemory(new DataSize(1, MEGABYTE)),
                false,
                ImmutableMap.of(),
                UTC,
                false,
                OrcWriteValidationMode.BOTH,
                new OrcWriterStats());
    }