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


##########
be/src/pipeline/exec/operator.h:
##########
@@ -251,7 +251,7 @@ class DataSinkOperator : public OperatorBase {
     virtual Status sink(RuntimeState* state, vectorized::Block* in_block,
                         SourceState source_state) override {
         SCOPED_TIMER(_runtime_profile->total_time_counter());
-        if (!UNLIKELY(in_block)) {
+        if (UNLIKELY(!in_block || in_block->rows() == 0)) {

Review Comment:
   `in_block->rows() == 0` do not mean `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: 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