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 b879f829ea..2fab057f70 100644 --- a/be/src/vec/aggregate_functions/aggregate_function_simple_factory.h +++ b/be/src/vec/aggregate_functions/aggregate_function_simple_factory.h @@ -61,7 +61,7 @@ private: std::unordered_map function_alias; /// @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; + constexpr static int AGG_FUNCTION_NEW = 5; /// @TEMPORARY: for be_exec_version < AGG_FUNCTION_NEW. replace function to old version. std::unordered_map function_to_replace; diff --git a/regression-test/suites/nereids_p0/aggregate/window_funnel.groovy b/regression-test/suites/nereids_p0/aggregate/window_funnel.groovy index 5e4eeba7c1..7b551c28ac 100644 --- a/regression-test/suites/nereids_p0/aggregate/window_funnel.groovy +++ b/regression-test/suites/nereids_p0/aggregate/window_funnel.groovy @@ -595,7 +595,7 @@ suite("window_funnel") { event_timestamp datetime, phone_brand varchar(64), tab_num int - ) distributed by hash(user_id) buckets 3 properties("replication_num"="1"); + ) distributed by hash(event_timestamp) buckets 3 properties("replication_num"="1"); """ sql """ INSERT INTO windowfunnel_test VALUES