Skip to content

Commit

Permalink
[fix](compatibility) should enable windown funnel mode from 2.0 (apac…
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhhsg authored Mar 16, 2024
1 parent 5887154 commit e4f0c60
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion be/src/agent/be_exec_version_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ class BeExecVersionManager {
* e. add repeat_max_num in repeat function
* 3: start from doris 2.0 (by some mistakes)
* a. aggregation function do not serialize bitmap to string.
* b. support window funnel mode.
* 4: start from doris 2.1
* a. support window funnel mode from 2.0
* a. ignore this line, window funnel mode should be enabled from 2.0.
* b. array contains/position/countequal function return nullable in less situations.
* c. cleared old version of Version 2.
* d. unix_timestamp function support timestamp with float for datetimev2, and change nullable mode.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ class AggregateFunctionWindowFunnel

void create(AggregateDataPtr __restrict place) const override {
auto data = new (place) WindowFunnelState<DateValueType, NativeType>();
/// support window funnel mode from 2.1. See `BeExecVersionManager::max_be_exec_version`
data->enable_mode = version >= USE_NEW_SERDE;
/// support window funnel mode from 2.0. See `BeExecVersionManager::max_be_exec_version`
data->enable_mode = version >= 3;
}

String get_name() const override { return "window_funnel"; }
Expand Down

0 comments on commit e4f0c60

Please sign in to comment.