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


##########
be/src/exec/sort/sorter.cpp:
##########
@@ -86,14 +86,16 @@ Status MergeSorterState::build_merge_tree(const 
SortDescription& sort_descriptio
     return Status::OK();
 }
 
-Status MergeSorterState::merge_sort_read(doris::Block* block, int batch_size, 
bool* eos) {
+Status MergeSorterState::merge_sort_read(doris::Block* block, int batch_size, 
bool* eos,
+                                         size_t block_max_bytes) {
     DCHECK(_sorted_blocks.empty());
     DCHECK(unsorted_block()->empty());
-    _merge_sort_read_impl(batch_size, block, eos);
+    _merge_sort_read_impl(batch_size, block, eos, block_max_bytes);

Review Comment:
   这些变量的顺序,还是得注意一下,别老是往后加,这样看着代码不连续,比如eos 是返回值,应该放到最后的



-- 
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