This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new 6e2074ac13d branch-4.0: [fix](agg) Fix distinct streaming agg #60851 
(#60860)
6e2074ac13d is described below

commit 6e2074ac13db5c59566bd2efe83701199cc4344e
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Feb 27 14:12:55 2026 +0800

    branch-4.0: [fix](agg) Fix distinct streaming agg #60851 (#60860)
    
    Cherry-picked from #60851
    
    Co-authored-by: Gabriel <[email protected]>
---
 be/src/pipeline/exec/distinct_streaming_aggregation_operator.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/be/src/pipeline/exec/distinct_streaming_aggregation_operator.h 
b/be/src/pipeline/exec/distinct_streaming_aggregation_operator.h
index cb40bf589c1..5a084823756 100644
--- a/be/src/pipeline/exec/distinct_streaming_aggregation_operator.h
+++ b/be/src/pipeline/exec/distinct_streaming_aggregation_operator.h
@@ -129,6 +129,9 @@ public:
     }
 
     bool is_colocated_operator() const override { return _is_colocate; }
+    bool is_shuffled_operator() const override {
+        return !_partition_exprs.empty() && _needs_finalize;
+    }
 
 private:
     friend class DistinctStreamingAggLocalState;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to