presto-hive/src/main/java/io/prestosql/plugin/hive/orc/OrcFileWriter.java/OrcFileWriter/getWrittenBytes
class OrcFileWriter:    @Override
    public long getWrittenBytes()
    {
        return orcWriter.getWrittenBytes() + orcWriter.getBufferedBytes();
    }