Skip to content

Commit

Permalink
change by review
Browse files Browse the repository at this point in the history
  • Loading branch information
HappenLee committed Jan 2, 2025
1 parent 360fc22 commit 3f975aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions be/src/pipeline/exec/partition_sort_source_operator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ Status PartitionSortSourceOperatorX::get_block(RuntimeState* state, vectorized::
}
}

//if buffer have no data and sink not eos, block reading and wait for signal again
RETURN_IF_ERROR(vectorized::VExprContext::filter_block(local_state._conjuncts, output_block,
output_block->columns()));
if (!output_block->empty()) {
//if buffer have no data and sink not eos, block reading and wait for signal again
RETURN_IF_ERROR(vectorized::VExprContext::filter_block(local_state._conjuncts, output_block,
output_block->columns()));
local_state._num_rows_returned += output_block->rows();
}
return Status::OK();
Expand Down

0 comments on commit 3f975aa

Please sign in to comment.