[Fix](status) fix unhandled status in exprs #28218
which marked static_cast<void> in https://github.com/apache/doris/pull/23395/files partially fixed #28160
This commit is contained in:
@ -356,10 +356,7 @@ Block* process_table_function(TableFunction* fn, Block* input_block,
|
||||
|
||||
// process table function for all rows
|
||||
for (size_t row = 0; row < input_block->rows(); ++row) {
|
||||
if (fn->process_row(row) != Status::OK()) {
|
||||
LOG(WARNING) << "TableFunction process_row failed";
|
||||
return nullptr;
|
||||
}
|
||||
fn->process_row(row);
|
||||
|
||||
// consider outer
|
||||
if (!fn->is_outer() && fn->current_empty()) {
|
||||
@ -368,7 +365,7 @@ Block* process_table_function(TableFunction* fn, Block* input_block,
|
||||
|
||||
do {
|
||||
fn->get_value(column);
|
||||
static_cast<void>(fn->forward());
|
||||
fn->forward();
|
||||
} while (!fn->eos());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user