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


##########
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:
   why here need bit op?



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