Skip to content

Commit

Permalink
[exec](agg) disable collect list/set in update process
Browse files Browse the repository at this point in the history
  • Loading branch information
HappenLee committed Aug 3, 2023
1 parent 4039de8 commit 9131495
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,12 @@ class AggregateFunctionSimpleFactory {
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
Expand Down

0 comments on commit 9131495

Please sign in to comment.