HappenLee commented on code in PR #48720:
URL: https://github.com/apache/doris/pull/48720#discussion_r2097164602


##########
be/src/vec/sink/tablet_sink_hash_partitioner.cpp:
##########
@@ -82,47 +85,59 @@ Status TabletSinkHashPartitioner::open(RuntimeState* state) 
{
     return Status::OK();
 }
 
-Status TabletSinkHashPartitioner::do_partitioning(RuntimeState* state, Block* 
block, bool eos,
-                                                  bool* already_sent) const {
+Status TabletSinkHashPartitioner::do_partitioning(RuntimeState* state, Block* 
block) const {
     _hash_vals.resize(block->rows());
     if (block->empty()) {
         return Status::OK();
     }
     std::fill(_hash_vals.begin(), _hash_vals.end(), -1);
-    bool has_filtered_rows = false;
-    int64_t filtered_rows = 0;
-    int64_t number_input_rows = _local_state->rows_input_counter()->value();
+    int64_t ___ = 0; // _local_state->rows_input_counter() updated in sink and 
write.

Review Comment:
   better call dummy_ref ?



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to