presto-hive/src/main/java/io/prestosql/plugin/hive/HivePageSink.java/HivePageSink/getCompletedBytes
class HivePageSink:    @Override
    public long getCompletedBytes()
    {
        return writtenBytes;
    }