From 4ea5a441bb68cae1826bd71f2a068f5394bcd872 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Wed, 16 Oct 2024 11:22:37 +0800 Subject: [PATCH] [fix](analytic) Fix data distribution after analytic operator (#41902) Fix data distribution after analytic operator --- be/src/pipeline/exec/analytic_sink_operator.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/be/src/pipeline/exec/analytic_sink_operator.h b/be/src/pipeline/exec/analytic_sink_operator.h index 0269ba15be04da..8fb3645daa8cca 100644 --- a/be/src/pipeline/exec/analytic_sink_operator.h +++ b/be/src/pipeline/exec/analytic_sink_operator.h @@ -101,17 +101,16 @@ class AnalyticSinkOperatorX final : public DataSinkOperatorX::required_data_distribution(); } bool require_data_distribution() const override { return true; } bool require_shuffled_data_distribution() const override { - return !_partition_by_eq_expr_ctxs.empty() && _order_by_eq_expr_ctxs.empty(); + return !_partition_by_eq_expr_ctxs.empty(); } private: