zhangstar333 commented on code in PR #51228:
URL: https://github.com/apache/doris/pull/51228#discussion_r2134925854


##########
be/src/pipeline/exec/analytic_sink_operator.cpp:
##########
@@ -321,19 +335,20 @@ Status AnalyticSinkLocalState::_execute_impl() {
         {
             _get_partition_by_end();
             // streaming_mode means no need get all parition data, could 
calculate data when it's arrived
-            if (!_partition_by_pose.is_ended && !_streaming_mode) {
+            if (!_partition_by_pose.is_ended && (!_streaming_mode || 
_need_more_data)) {
+                _need_more_data &= false;

Review Comment:
   here will break loop to get more data, so _need_more_data maybe need change 
to false;



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