Revert "[Bug](compatibility) fix window funnel function coredump when upgrade" (#39681)

Reverts apache/doris#39646
This commit is contained in:
zhangstar333
2024-08-21 14:47:27 +08:00
committed by GitHub
parent 1460878bdf
commit 1e30d4ebaf

View File

@ -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;