yiguolei commented on code in PR #69635:
URL: https://github.com/apache/doris/pull/69635#discussion_r4388060403


##########
be/src/exec/spill/spill_file_writer.cpp:
##########
@@ -247,8 +425,13 @@ Status SpillFileWriter::_write_internal(const Block& block,
                     _part_meta.append((const char*)&_part_written_bytes, 
sizeof(size_t));
                     COUNTER_UPDATE(_write_file_total_size, buff_size);
                     if (_resource_ctx) {
-                        
_resource_ctx->io_context()->update_spill_write_bytes_to_local_storage(
-                                buff_size);
+                        if (_data_dir->is_remote()) {

Review Comment:
   如果是一个spill writer,这个代码这里就不会有if else了



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to