presto-hive/src/main/java/io/prestosql/plugin/hive/SortingFileWriter.java/SortingFileWriter/getWrittenBytes
class SortingFileWriter:    @Override
    public long getWrittenBytes()
    {
        return outputWriter.getWrittenBytes();
    }