From 6b5589ebfef0a88f3549b13782960f604f06d177 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Tue, 15 Oct 2024 18:43:39 +0800 Subject: [PATCH] [fix](analytic) 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 97c873a076f8bf..e961f31da28150 100644 --- a/be/src/pipeline/exec/analytic_sink_operator.h +++ b/be/src/pipeline/exec/analytic_sink_operator.h @@ -80,17 +80,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: