presto-main/src/main/java/io/prestosql/operator/TableWriterOperator.java/TableWriterOperator/updateWrittenBytes
class TableWriterOperator:    private void updateWrittenBytes()
    {
        long current = pageSink.getCompletedBytes();
        operatorContext.recordPhysicalWrittenData(current - writtenBytes);
        writtenBytes = current;
    }