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

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


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new d3ed64a490 [exec](agg) disable collect list/set in update process 
(#22564)
d3ed64a490 is described below

commit d3ed64a490cdfd18630907664de2c61c2d955a5b
Author: HappenLee <happen...@hotmail.com>
AuthorDate: Thu Aug 3 17:46:53 2023 +0800

    [exec](agg) disable collect list/set in update process (#22564)
---
 be/src/vec/aggregate_functions/aggregate_function_simple_factory.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/be/src/vec/aggregate_functions/aggregate_function_simple_factory.h 
b/be/src/vec/aggregate_functions/aggregate_function_simple_factory.h
index 618340dd88..f1c5e308ad 100644
--- a/be/src/vec/aggregate_functions/aggregate_function_simple_factory.h
+++ b/be/src/vec/aggregate_functions/aggregate_function_simple_factory.h
@@ -95,6 +95,12 @@ public:
             name_str = function_alias[name];
         }
 
+        if (be_version < AGG_FUNCTION_NEW) {
+            if (name == "collect_list" || name == "collect_set") {
+                return nullptr;
+            }
+        }
+
         if (nullable) {
             return nullable_aggregate_functions.find(name_str) == 
nullable_aggregate_functions.end()
                            ? nullptr


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to