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

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


The following commit(s) were added to refs/heads/branch-2.1 by this push:
     new 1e30d4ebafc Revert "[Bug](compatibility) fix window funnel function 
coredump when upgrade" (#39681)
1e30d4ebafc is described below

commit 1e30d4ebafcd16d06099d1eda8c08dfaea58e669
Author: zhangstar333 <87313068+zhangstar...@users.noreply.github.com>
AuthorDate: Wed Aug 21 14:47:27 2024 +0800

    Revert "[Bug](compatibility) fix window funnel function coredump when 
upgrade" (#39681)
    
    Reverts apache/doris#39646
---
 be/src/vec/aggregate_functions/aggregate_function_simple_factory.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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 5df89b1a0f0..b879f829ea9 100644
--- a/be/src/vec/aggregate_functions/aggregate_function_simple_factory.h
+++ b/be/src/vec/aggregate_functions/aggregate_function_simple_factory.h
@@ -59,9 +59,9 @@ private:
     AggregateFunctions aggregate_functions;
     AggregateFunctions nullable_aggregate_functions;
     std::unordered_map<std::string, std::string> function_alias;
-    /// @TEMPORARY: for be_exec_version=5
-    /// in order to solve agg function is not compatibility during the upgrade 
process
-    constexpr static int AGG_FUNCTION_NEW = 5;
+    /// @TEMPORARY: for be_exec_version=2
+    /// in order to solve agg of sum/count is not compatibility during the 
upgrade process
+    constexpr static int AGG_FUNCTION_NEW = 2;
     /// @TEMPORARY: for be_exec_version < AGG_FUNCTION_NEW. replace function 
to old version.
     std::unordered_map<std::string, std::string> function_to_replace;
 


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

Reply via email to