github-actions[bot] commented on code in PR #62561:
URL: https://github.com/apache/doris/pull/62561#discussion_r3092830874


##########
be/src/exprs/vexpr_context.h:
##########
@@ -314,9 +314,13 @@ class VExprContext {
             const VExprContextSPtrs& ctxs, Block* block, 
std::vector<uint32_t>& columns_to_filter,
             int column_to_keep);
 
+    // Uses an explicit num_rows instead of block->rows() to determine the 
filter size.
+    // This is needed when block columns may have different row counts
+    // (e.g., during segment iterator lazy materialization).
     static Status execute_conjuncts_and_filter_block(const VExprContextSPtrs& 
ctxs, Block* block,
                                                      std::vector<uint32_t>& 
columns_to_filter,
-                                                     int column_to_keep, 
IColumn::Filter& filter);
+                                                     int column_to_keep, 
IColumn::Filter& filter,
+                                                     size_t num_rows);

Review Comment:
   This signature change removes the previous 5-arg overload, but 
`be/src/exec/operator/table_function_operator.cpp:718` still calls 
`execute_conjuncts_and_filter_block(..., filter)` without the new `num_rows` 
argument. With only the 4-arg and 6-arg overloads left, this PR no longer 
builds. Please either update that caller (likely with `output_block->rows()`) 
or keep a wrapper overload here.



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